![]() Here's how the commands look in the batch file to do this: Now it's great that all three programs open, but since it's time to pay your bills, you need to have Excel open that budget spreadsheet and Firefox open to your Bank home page so you can log on and access you checking account. ![]() For starting Excel and Firefox, notice that the paths are in quotes, which is needed when there is a space in the file path. ![]() The /d switch tells start command the path of the program. The above command, start tells Windows to open a separate window to run the specified program. Start /d "C:\Program Files\Microsoft Office\Office12" EXCEL.EXE Start /d "C:\Program Files\ Mozilla Firefox " firefox.exe ![]() XP paths will probably be different for some programs as well as for MS Office (Office 2007 is used in the example). NOTE: Examples and file paths are from Windows Vista. First let's take a look at a batch file I created that will just open Excel, Calculator and Firefox: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |