batch file starting another batch file

Ibm / 1866cxu
August 2, 2009 at 02:18:16
Specs: Microsoft Windows Vista Home Premium, 1.6 GHz / 1525 MB
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

See More: batch file starting another batch file

Report •


#1
August 2, 2009 at 03:03:35
  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 "".

Report •

#2
August 2, 2009 at 15:14:14
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

Report •

#3
August 2, 2009 at 15:38:40
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

Report •

Related Solutions

#4
August 8, 2009 at 14:02:06
okay figured out what to do ... you have to put the batch file in the folder and make a shortcut to it

Report •


Ask Question