Computing.Net > Forums > Windows XP > Converting a batch file

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

Reply to Message Icon

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.

Martin Buzzell



Sponsored Link
Ads by Google

Response Number 1
Name: ham30
Date: June 3, 2004 at 19:54:56 Pacific
Reply:

You probably already know this, but XP does not have `real' Dos. So batch files may or may not run correctly.


0

Response Number 2
Name: per
Date: June 3, 2004 at 20:18:38 Pacific
Reply:

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"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Converting a batch file

convert a batch file to exe www.computing.net/answers/windows-xp/convert-a-batch-file-to-exe/53610.html

exicuting a batch file remotley www.computing.net/answers/windows-xp/exicuting-a-batch-file-remotley/107066.html

Creating a batch file in XP www.computing.net/answers/windows-xp/creating-a-batch-file-in-xp/48561.html