Computing.Net > Forums > Windows XP > batch file starting another 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.

batch file starting another batch file

Reply to Message Icon

Name: sean00197
Date: August 2, 2009 at 02:18:16 Pacific
OS: Microsoft Windows Vista Home Premium
CPU/Ram: 1.6 GHz / 1525 MB
Product: Ibm / 1866cxu
Subcategory: Software Problems
Comment:

I am writing a batch file and so far all is well, but now i want to start another batch file. I tried the call command but doesnt work because the batch has to be run in a new window. I want my batch to START another batch file in a new window Thank you for any help



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: August 2, 2009 at 03:03:35 Pacific
Reply:

  start "" MyBatch

The above command runs MyBatch in a new window and continues the execution of the original batch; to pause the script until MyBatch ends add the /W switch after "".

0

Response Number 2
Name: sean00197
Date: August 2, 2009 at 15:14:14 Pacific
Reply:

Hi thank you so much for responding but could u give me an example im trying this string out and cant seem to get it to work.... is it supposed to look like this <start "destination of .bat" .bat name> ??? thank you


0

Response Number 3
Name: sean00197
Date: August 2, 2009 at 15:38:40 Pacific
Reply:

okay i got it to run in a seperate window but heres the problem is that the bat file that im running from my bat is java based so it opens it up and gives me this Exception in thread "main" java.lang.NoClassDefFoundError: EGUI
Caused by: java.lang.ClassNotFoundException: EGUI
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: EGUI. Program will exit.
running websterscape client.
The system cannot find the batch label specified - begin


0

Response Number 4
Name: sean00197
Date: August 8, 2009 at 14:02:06 Pacific
Reply:

okay figured out what to do ... you have to put the batch file in the folder and make a shortcut to it


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: batch file starting another batch file

Calling another Batch file www.computing.net/answers/windows-xp/calling-another-batch-file/107172.html

Batch file > auto close cmd window www.computing.net/answers/windows-xp/batch-file-auto-close-cmd-window/98455.html

Batch File Hangs www.computing.net/answers/windows-xp/batch-file-hangs/160005.html