Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file Commands

Status
Not open for further replies.

Hellooooooooo

Technical User
Oct 21, 2005
66
0
0
GB
Hello guys,

I have a little question for you. Were still running NT4 Server. Were having problems roling software out via SMS, and I have to install Adobe9 on all of our PC's beofre next Wednesday. Some of our PC's are 100's of miles away. I've used a batch file to deliver the souvce file to every PC, but now need to get it to install. The commands need to be in the logonscript.bat.

So fasr I have come up with the following in the logonscript:

REM Runs the local installer for Adobe 9

if not "D:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" start "c:\reader9\acroread.msi /quiet /norestart"

It keeps coming back at me with syntex of command is incorrect.

I what the command to check to ensure that Adobe 9 has not already been installed. If it has it can error out. If it's not installed then the source files are on the c: with the switches needed for installation.

I just love these little tasks that we get on a Friday morning.

Anyways, any little will be a great help.

Cheers all and have a good weekend if you can.

Marty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top