running .exe option in .bat file

R

robin

Hi,

Platform: Win2000 Prof SP4
I am trying to update a couple of hotfixes through a .bat

I would like to know where can I get the different options
of using .exe or is there any sample script around?

e.g. I was trying to do something like
\\172.1.1.1\patch\Windows2000-KB823559-x86-ENU.exe -m
to apply a few such patches to my PC.

Thanx

Robin
 
T

Torgeir Bakken (MVP)

robin said:
Platform: Win2000 Prof SP4
I am trying to update a couple of hotfixes through a .bat

I would like to know where can I get the different options
of using .exe or is there any sample script around?

e.g. I was trying to do something like
\\172.1.1.1\patch\Windows2000-KB823559-x86-ENU.exe -m
to apply a few such patches to my PC.

Hi

If it is the command line options for Microsoft updates you are asking
about, you should look up each hotfix's knowledge base article or
security bulletin, it also very often tell you about the command line
switches that are relevant, here is an example for the 823559 update:

http://support.microsoft.com/?kbid=823559

(lately, for security updates, the command line switches are documented
in the "Security Update Information" section in the security bulletin
that accompanies the update)


More here:

http://groups.google.com/groups?selm=s5gk74srdje.fsf@patl=users.sf.net

http://groups.google.com/[email protected]

How to Install Multiple Windows Updates or Hotfixes with Only One Reboot
http://support.microsoft.com/default.aspx?kbid=296861

Command-Line Switches For Windows Software Update Packages (1)
http://support.microsoft.com/default.aspx?kbid=262841

Command-Line Switches for Microsoft Software Update Packages (2)
http://support.microsoft.com/default.aspx?kbid=824687

New File Naming Schema for Microsoft Windows Software Update Packages
http://support.microsoft.com/default.aspx?kbid=816915

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 
J

Jerold Schulman

Hi,

Platform: Win2000 Prof SP4
I am trying to update a couple of hotfixes through a .bat

I would like to know where can I get the different options
of using .exe or is there any sample script around?

e.g. I was trying to do something like
\\172.1.1.1\patch\Windows2000-KB823559-x86-ENU.exe -m
to apply a few such patches to my PC.

Thanx

Robin
See tip 1981 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

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