Jump to content
Sign in to follow this  

Breaking out from batch file

Recommended Posts



I have a batch file that among other things it executes a compiled script

the problem is that as soon as it tries it breaks out from the batch file and the compiled script does not even starts

Now if I execute the file my self it will run perfectly

I did check that the batch file is pointing to the right path and file name.

this is the batch file:

rem Clean up ------------------------------------------------------------------------------------

REGEDIT /S %CDROM%\CustomatedDVD\Desktop\RegSeeker.reg <------------- executes just fine

del /q c:\s.txt <------------- executes just fine

REGEDIT /S %CDROM%\CustomatedDVD\Profile\SortPrograms.reg <------------- executes just fine

start /wait %CDROM%\CustomatedDVD\Profile/TaskBarClean.exe <------------- when it gets to this file it breaks

( it never even get byond the above point )

rem clean from taskbar properties

start /wait %systemdrive%\Log\IE&TempCleaner\Clean.bat

shutdown -r -f -t 03

Thank you for your help

Share this post

Link to post
Share on other sites

maybe if you replace:

start /wait %CDROM%\CustomatedDVD\Profile/TaskBarClean.exe


start /wait %CDROM%\CustomatedDVD\Profile\TaskBarClean.exe

I cant believe I didn't see this, thank you very much

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.