[Ham-Computers] Help with batch file?

Jay Eimer ad5pe at sbcglobal.net
Fri Mar 21 09:40:00 EST 2008


On XP (probably other new OS as well) %comspec% opens a cmd window.  Use that instead of CMD and see if it works.
   
  Jay
  AD5PE

Dave 'Doc' Corio <dcorio at zitomedia.net> wrote:
  Been a lot of years since I did anything with batch files! I'm 
trying to start a sequence of programs, but can't remember the proper 
structure for the .bat file. Have been trying something like this:

CMD
CD C:\Ham Radio\ProgramFile\Program.exe
CD C:\Ham Radio\OtherFile\Otherprogram.exe
EXIT

Obviously, this is not working (or I wouldn't be asking for help). The 
CMD window opens, but there is no directory change or program start.

Can someone point me in the right direction?

Tnx es 73
Dave KB3MOW

______________________________________________________________
Ham-Computers mailing list
Home: http://mailman.qth.net/mailman/listinfo/ham-computers
Help: http://mailman.qth.net/mmfaq.html
Post: mailto:Ham-Computers at mailman.qth.net



More information about the Ham-Computers mailing list