Hi there,
I would like a little bit of help putting together a smarter batch file that i can reuse...
Currently i am basically doing this on my application CD's
cd dir1\
start /wait doIT.exe (do it my custom installer that i have put together for each of my applications to silently install and configure. i.e. add reg settings etc.)
cd ..
cd dir2\
start /wait doIT.exe
cd ..
cd dir3\
start /wait doIT.exe
and so on...
I thought it would be good/cleaner to do something like
for %%i in (dir) do if exist %%i\doIT.exe
the code to run...
I know the code above is not correct - but this will give you the idea of what i am seeking... i would appreciate any help/advice you can offer....
