|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
I need batch help!!
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||
|
New to Overclock.net
|
hey
__________________okay, i need to know how to open a batch file with a batch file in a different window EX: ...%homepath%\desktop\test.bat would go right to the batch file and keep running i want it to stop, open the other one in a different window, and exit
|
||||||||||
|
|
|
|
|
#2 (permalink) | ||||
|
Unix Evangelist
![]() |
Open your file in notepad.
__________________
Useful Notes Help the whole site and members by - Reading and following the terms of service & rules - Reading the stickies at the top of every section - Follow the professionalism initiative
|
||||
|
|
|
|
|
#3 (permalink) | ||||||||||||||
|
PC Gamer
![]() |
Or use a shortcut rather than that first batch file?
Sorry, I fear I've missed the point of this exercise!
__________________
Quote:
|
||||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
Windows Wrangler
![]() |
Quote:
ie. CALL %homepath%\desktop\test.bat Exit
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
Programmer
![]()
Join Date: Jun 2008
Location: Huntington Beach, CA
Posts: 785
Rep: 61
![]() Unique Rep: 55
Trader Rating: 0
|
or you could just do
%homepath%\desktop\test.bat and i belive that would open the other bat file. The current bat file would just freeze though...
__________________
Join the deaf club if you are deaf http://www.overclock.net/off-topic/5...deaf-club.html
|
|||||||||||||
|
|
|
|
|
#6 (permalink) | ||||||||||||
|
AMD Overclocker
![]() |
I would use the start command
start %homepath%\desktop\test.bat or start /wait %homepath%\desktop\test.bat if you want the main batch to wait for test.bat to close before continuing. Works with vbs scripts, .exe's, etc just fine too.
__________________
Last edited by MadCatMk2 : 10-11-09 at 01:28 PM |
||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|