Jump to content

script to execute \dir\setup.exe recursive


diveboy

Recommended Posts

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.

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...