Author Topic: Batch file help? (Unrelated to Blockland)  (Read 431 times)

Hello, I'm trying to create a batch file and I need some help.
How would one script a batch file so it opens something and then exits?
I have a .bat file that opens a page on Google Chrome, but I need to add a command to exit the "cmd.exe" application.
When I do this:
Code: [Select]
"C:\Users\jay bOo\AppData\Local\Google\Chrome\Application\chrome.exe" http://by125w.bay125.mail.live.com/default.aspx?wa=wsignin1.0
exit "C:\Windows\system32\cmd.exe"
it doesn't want to execute the second line.
How do I make it so it opens the file and then exits? Basically, how do I make it execute the second line after opening the page on Chrome?[/s]
Never mind
« Last Edit: September 04, 2010, 06:05:58 AM by Daedalus »