Batch file not passing switches

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I'm trying to install windows hotfixes using a batch file (as shown in
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/hfdeploy.mspx),
implementing the switches /z /u to run the updates in unattended mode with no
reset.

Having tested the syntax on the command line, I know the switches are
correct, however when I run the batch file it is as if the switches are not
present at all.

The batch file is created using notepad, saved as batch.bat (not as a text
file), and using ANSI encoding.

This is really frustrating, the batch file is just obviously not passing the
switches to the command line - I hope you can help.
 
Rich said:
Hi, I'm trying to install windows hotfixes using a batch file (as shown in
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/hfdeploy.mspx),
implementing the switches /z /u to run the updates in unattended mode with no
reset.

Having tested the syntax on the command line, I know the switches are
correct, however when I run the batch file it is as if the switches are not
present at all.

The batch file is created using notepad, saved as batch.bat (not as a text
file), and using ANSI encoding.

This is really frustrating, the batch file is just obviously not passing the
switches to the command line - I hope you can help.

Let's have a look at your actual batch file!
 
Back
Top