Hi all,
I have my dell drivers all dumped in c:\drivers with each driver in a sub directory ie.
c:\drivers\nic
c:\drivers\video
c:\drivers\audio
c:\drivers\chipset
they all use an installed shield, so easy enough to script silent install with setup /s in a batch file using each subdirectory.
What I want to do is have a batch file that will just recursive execute setup.exe /s in all subdirectory under c:\drivers, this way I don't have to have a custom install batch for each model of machine the build supports.
any ideas ?
I am using this for tweaks but I don't think it handles sub directories.
for %%i in (%systemdrive%\support\tweaks\*.reg) do start /wait REGEDIT /S %%i
thanks in advance.
Michael.
Page 1 of 1
script to execute \dir\setup.exe recursive from xp
#2
Posted 08 September 2005 - 11:20 PM
for /f %%i in ('dir /b /s setup.exe') do start /wait %%i /s
#3
Posted 08 September 2005 - 11:43 PM
thanks IcemanND,
ended up with
for /f %%i in ('dir %systemdrive%\support\drivers /b /s setup.exe') do start /wait %%i\setup.exe /s
all working, now I can be real lazy while the machines build off the one image.
ended up with
for /f %%i in ('dir %systemdrive%\support\drivers /b /s setup.exe') do start /wait %%i\setup.exe /s
all working, now I can be real lazy while the machines build off the one image.
Share this topic:
Page 1 of 1



Help
Back to top









