Associate file extension with a batch file

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.
 
G

Guest

Alreasy solved: was just a silly application that wouldn't allow batch files.
Associating in another way worked just fine!
 
B

Black Baptist

=?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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top