Associate file extension with a batch file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
i'd like to associate an extension with a batch file, instead of a program
file.

When executed from the command prompt: the line (all in one line):

C:\MSC.Software\MSC.Marc\2005r3\mentat2005r3\bin\mentat.bat
plate_first_0atm.mud

works like a charm. However an association like:
MSC.Marc Binary Model File
(C:\MSC.Software\MSC.Marc\2005r3\mentat2005r3\bin\mentat.bat "%1")

doesn't work (something flashes by, but no there is time to read exactly
what it says.

Is this possible at all or am I asking too much here?
Regards from the Netherlands.
 
Alreasy solved: was just a silly application that wouldn't allow batch files.
Associating in another way worked just fine!
 
=?Utf-8?B?YmF0dGVyaWVzNGV2ZXI=?= rambled on in
microsoft.public.windowsxp.customize:
C:\WINDOWS\Help\ntcmds.chmHello,
i'd like to associate an extension with a batch file, instead of a program
file.

When executed from the command prompt: the line (all in one line):

C:\MSC.Software\MSC.Marc\2005r3\mentat2005r3\bin\mentat.bat
plate_first_0atm.mud

works like a charm. However an association like:
MSC.Marc Binary Model File
(C:\MSC.Software\MSC.Marc\2005r3\mentat2005r3\bin\mentat.bat "%1")

doesn't work (something flashes by, but no there is time to read exactly
what it says.

Is this possible at all or am I asking too much here?
Regards from the Netherlands.

C:\WINDOWS\Help\ntcmds.chm read it
 
Back
Top