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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Packaging a Batch File

Status
Not open for further replies.

Count430

Programmer
Apr 26, 2002
127
US
Hello All:

This seems simple but it's always best to ask, I have a *.bat file which contains the parameters "regsvr32 *.OCX"


I want to run this from the console and from the server, should my commandline on the package call the name of the bat file?

Thanks..
 
the commandline in the package should be the full commandline, as if you were to open up a cmd window and type it in. You don't need to specify the path of the file though, just the file it's self.....

"myfile.bat /switches"

set the package option to run from server, not download, this will still however obviously run client side, just won't download the files.

Neil J Cotton
njc Information Systems
Systems Consultant
HND, BSc HONS, CCNA, BCS, IETF, DMTF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top