Jump to content
xisto Community

clutch

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. To fix the problem with multiple drives, you need to first change to that drive and then change to the directory of the .exe. For example, if you have Guild Wars.exe on your C: drive and Firefox.exe on your D: drive, you code would be:rem Guild Warscd C:\Program Files\Guild Warsstart gw.exerem Firefoxrem changing to D: driveD:rem changing to the root of D:cd \cd D:\Program Files\Mozilla Firefoxstart firefox.exeAs far as a path that has spaces or special characters, usually Windows XP will work fine with commands with spaces, but if you have problems, always include quotes around your path:"C:\Program Files\Internet Explorer\Connection Wizard"Older Operating Systems like Windows 98 (9x) can't have path segments longer than 8 characters, so you have to truncate the segments like this:"C:\Progra~1\Intern~1\Connec~1"One final note. What I always do when I'm done with my batch file is manually test the commands. I open up the batch file in Notepad (or your favorite text editor) and also open a command prompt. Then I systematically type in each command one at a time, following the commands in my batch file. This allows you to immediately see where your Batch file is getting hung up. Normally when batch files run, the commands are displayed on the screen so fast that if there is an error, you can't see what it was. Typing the commands manually as a test allows you to systematically see what's going on during each step.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.