Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Converting a batch file
Name: martybuzz Date: June 3, 2004 at 18:44:42 Pacific OS: XP Professional CPU/Ram: Pent 4 3 Gig 1028 meg of
Comment:
I use a batch file in Windows 98 to run a java app on start up. With 98, you can use the checkbox "Close on exit" for the batch file. The company is moving to XP. When you run the batch file in XP, the window won't close. I have tried to put the "exit" command at the end of the batch file. This won't work because as the batch runs, there is a remark to "Listen for image capture" so the batch pauses and won't run anything past that command. My knowledge of java is limited as the batch was written for me. Do I try to convert it to a java script and use Windows Scripting host to run it? Any help would be appreciated.
Yes, batch files can be run on XP, but they must be on the root directory with a target I don't recall. Search the forum for zapindex.bat to find the procedure. Top of this page.
0
Response Number 3
Name: Ahmed3000 Date: June 3, 2004 at 20:27:39 Pacific
Reply:
just rename the .bat file to .cmd file and you can use the exit command if you want to make it minimized create a shortcut for the batch file and in the properties press the "shortcut" tab and in Run: choose between "normal", "minimize" and "maximize"
Summary: Why must you have an exe instead of a batch file? To make an EXE file, get a language compiler, such as C++ or Visual Basic, write the source code (which is alot more complex than "c:/Sierra/counter-s...
Summary: thanks for the quick reply I checked out the link but it doesn't seem to be about what I need, maybe I am missing something. I am basicley trying to triger a task on my pc via a batch file while away...
Summary: I am trying to create a batch file that will move files from one folder to another. The naming convention in XP seems to be different than what I am used to. Instead of typing move c:\*.mp3 c:\mydocu~...