>>I created an application that can create, save, and open custom files of the extension .env.
>>
>>I can set the default program that opens when I open the file in Windows Explorer through the Windows GUI, but I would like to create a .bat file that does this for me. Does anybody know how to do this?
>>
>>Edit: Sorry about the title... somehow the second half got cut off.
>
>Check
Re: Associate my program with file extension in Windows Expl Thread #
1182620 Message #
1182630 (the second link).
Thanks Naomi... worked perfectly.
Here is my batch file:
assoc .env=PrintList
ftype PrintList=C:\temp\app.exe %1
The only problem is, it doesn't seem to associate the correct icon with the .env file now. Oh well, at least it is working!