Jump to content

Question about batch file


Recommended Posts

I have this part

:APPS
ECHO Running Applications Batch ...
ECHO.
%systemdrive%\install\applications.cmd

ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\Drivers
RD /S /Q %systemdrive%\install

ECHO.
ECHO Restarting the PC in 1 minute...
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

EXIT

need I to add start /wait before %systemdrive%\install\applications.cmd? is it only in this line?

Link to comment
Share on other sites


i thinks u do need, cuz if u don't the batch may think this is short action of , say hald minute (just an example) and then start right away the application but u can do something else, that is better if u ask my opinion, and that's to aplly the regtweaks b4 installing apps, just switch the postion of the lines each with other :)

have fun , ish asakim :))

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
  • Recently Browsing   0 members

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