PDA

View Full Version : Batch Files Help


DTanforan
06-06-2000, 09:13 AM
Hello, Nice forum and we are sure glad the moderators are here.

I am having problems making a .bat file work from the menu. I can run it fine from the directory, but as soon as I try to get it to run from the menu I get an error that there is no application associated with the given file extention. I can even go the the burned CD and run the .bat file on another computer from the CD and everything works great. Is there a problem with menu studio and .bat files? Is there an alternative file to complile to run things from menu studio? (I did try to run it directly from the menu before trying .bat files.)

Thank you,

D

Adam
06-06-2000, 04:51 PM
.bat files work fine with AutoPlay. I ran a .bat file and found that either using execute program or open document works fine.

Have you made sure that the path is correct? Does the file work if you go to start>run and run the file?

DTanforan
06-06-2000, 06:03 PM
Thanks Andy, I finally found a way to make it work. I am executing a modified .exe file and had to use %SrcDir% command in the command line arguments section and the working directory section to make it work on CD. I don't know why, but it worked and I am happy!! It did work from start>run and that is why it was so confusing for me to figure out.

DTanforan
06-06-2000, 06:05 PM
Sorry--Adam http://www.indigorose.com/ubb/images/icons/smile.gif