Dirtibird
10-12-2005, 11:54 AM
I’m trying to setup a silent installation of some custom built software via a batch file. Problem is that the setup.exe requires a reboot following the installation, and then you have to move some files from a network share to an existing folder on the c: drive. I’ve been looking all over the web for a solution within the script. I built the script, and got it to map my network drives, run the software from the network, and reboot the pc… but I don’t know how to command the same script to copy these files from the network share following the reboot without me having to double click on a second .bat file. Do you guys know of a way to make the script force the reboot, and pick up where it left off following the reboot? Or do I just have to create two separate scripts to do one installation of this software??
I tried inserting a few different commands ( i.e.
start "" /wait %systemdrive%\install\some_application\setup.exe )
or
(start "" %systemdrive%\install\some_application\setup.exe /sleep #30)
but I don't even exactly know if I used these in the proper format..??
PLEASE HELP!! I've been pulling my hair out for DAYS over this!
I tried inserting a few different commands ( i.e.
start "" /wait %systemdrive%\install\some_application\setup.exe )
or
(start "" %systemdrive%\install\some_application\setup.exe /sleep #30)
but I don't even exactly know if I used these in the proper format..??
PLEASE HELP!! I've been pulling my hair out for DAYS over this!