New
#1
Simple .bat question
Hi all,
Does anybody happen to know what command I should be using in a batch file to open a file with a program other than the default for that extension? Or alternatively, as a workaround, how to set the default for a given extension in a batch file and then set it back again?
Specifically I'm working with a program that has multiple .cfg files for when I'm doing various things, so I'm trying to make batch files to open the appropriate one at the appropriate time but want to leave notepad as the default program to open them for ease of editing.
Thanks,
Simon