Jump to content

Breaking out from batch file


Recommended Posts

Hi

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...