Batch file not passing switches

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

Pegasus \(MVP\)

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top