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

Help with batch file

Status
Not open for further replies.

trojanman

IS-IT--Management
Jun 14, 2006
280
US
Im trying to automate the following process with a batch file but my dos skills suck. All help is appreciated.

1. Open cmd

2. Go to: c:\program files\spiceworks\ruby\bin

3. Run command: ruby spiceworks_services -m user

4. Open browser at:
 
Open a new text file in notepad
let's call it myfile.txt

cut & paste the following

c:
cd c:\program files\spiceworks\ruby\bin
ruby spiceworks_services -m user
"c:\program files\internet explorer\iexplore"
Should just about do it

rename the file myfile.txt myfile.bat

create a shortcut to it

and double click it.

It should work???????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top