Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 10-02-09   #1 (permalink)
New to Overclock.net
 
intel

Join Date: Sep 2009
Posts: 10

Rep: 1 compugeekmsn Unknown
Unique Rep: 1
Trader Rating: 0
Angry I need batch help!!

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
__________________
System: My Dos PC
CPU
i386
Motherboard
IBM 56SX
Memory
8 MB SIMM
Graphics Card
16 Color 600x400
Hard Drive
80 MB SCSI (WDS-380)
Power Supply
250 W (I think)
CPU cooling
NONE
OS
MS-DOS 6.22
Monitor
22 in 1080P LCD
compugeekmsn is offline   Reply With Quote
Old 10-03-09   #2 (permalink)
Unix Evangelist
 
intel nvidia

Join Date: Nov 2008
Posts: 1,350

Rep: 63 Biatch is acknowledged by some
Unique Rep: 53
Trader Rating: 0
Default

Quote:
Originally Posted by compugeekmsn View Post
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
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

System: [GAMING]
CPU
Intel Core 2 Duo E8400
Motherboard
ASUS P5Q Pro
Graphics Card
NVIDIA GeForce 8800 GTS
Biatch is offline   Reply With Quote
Old 10-03-09   #3 (permalink)
PC Gamer
 
chemicalfan's Avatar
 
intel ati

Join Date: May 2008
Location: Portsmouth, UK
Posts: 1,387
Blog Entries: 3

Rep: 117 chemicalfan is acknowledged by manychemicalfan is acknowledged by many
Unique Rep: 91
Trader Rating: 1
Default

Or use a shortcut rather than that first batch file?
Sorry, I fear I've missed the point of this exercise!
__________________
Intel Processor Finder - essential knowledge for OC'ers
OCCT - essential tool for OC'ers
Quote:
Originally Posted by Inuyasha1771
I hate it when they are like " LET'S WATCH A MOVIE >=3" and you're like "No, it's 6 PM, I just got off work, I need to overclock." and they can't relate. Give me a girl who overclocks, and I'll give you a miracle.

System: Black 'n' blue II
CPU
Core i7 860
Motherboard
MSI P55-GD60
Memory
4GB G.Skill Ripjaw
Graphics Card
Xpertvision Radeon HD4850
Hard Drive
150Gb Velociraptor & 250Gb Samsung
Sound Card
ESI Maya USB
Power Supply
Thermaltake Purepower RX 550
Case
Galaxy II
CPU cooling
Noctua NH-U12P SE2
GPU cooling
Stock
OS
Vista Home Premium x64
Monitor
Hyundai BlueH H224W 22" LCD
chemicalfan is online now   Reply With Quote
Old 10-03-09   #4 (permalink)
Windows Wrangler
 
amd nvidia

Join Date: Mar 2009
Posts: 218

Rep: 46 xandypx is acknowledged by some
Unique Rep: 39
Trader Rating: 0
Default

Quote:
Originally Posted by compugeekmsn View Post
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
I Believe you are looking for the CALL command

ie.

CALL %homepath%\desktop\test.bat
Exit
__________________
System: Just under Black
CPU
X4 9750
Motherboard
ECS A780GM-A rev 1.1
Memory
Kingston 2x2GB
Graphics Card
9800 GTX+OC
Hard Drive
500 WD Sata
Sound Card
On-Board IDT
Power Supply
Apevia Warlock 750W
Case
Area51-W
CPU cooling
Masscool Ice Cold
OS
Win 7 Professional x64
Monitor
22" ASUS
xandypx is offline   Reply With Quote
Old 10-04-09   #5 (permalink)
Programmer
 
sailerboy's Avatar
 
intel ati

Join Date: Jun 2008
Location: Huntington Beach, CA
Posts: 785

Rep: 61 sailerboy is acknowledged by some
Unique Rep: 55
Trader Rating: 0
Default

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

System: TPSPC
CPU
Q6600
Motherboard
Gigabyte EP35-DS3L
Memory
4 GB Mushkin
Graphics Card
ATI Raedon HD 4850
Hard Drive
250 GB Western Digital 2500AAKS
Sound Card
None
Power Supply
Rosewill RD600N
Case
Coolermaster HAF932
CPU cooling
Heatkiller v3.0+XSPC RX360+Swifttech MCP655
GPU cooling
Arctic Cooling S1 Rev 2
OS
XP SP3
Monitor
HP w2207
sailerboy is offline   Reply With Quote
Old 10-11-09   #6 (permalink)
AMD Overclocker
 
MadCatMk2's Avatar
 
intel nvidia

Join Date: May 2006
Location: Greece
Posts: 1,976

Rep: 202 MadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by many
Unique Rep: 158
Folding Team Rank: 203
Trader Rating: 0
Default

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.

System: It folds.
CPU
E8500 @ 3.58 - 1.12v
Motherboard
Penryn1600SLI (650i)
Memory
4 GB
Graphics Card
HD4850 & 8800GT
Hard Drive
Four of 'em.
Power Supply
PCP&C Silencer 750W
Case
Coolermaster HAF932
CPU cooling
Xigmatek HDT-S963
GPU cooling
Stock
OS
Binblows 7
Monitor
4612 FA (IPS Pwnage)
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points

Last edited by MadCatMk2 : 10-11-09 at 01:28 PM
MadCatMk2 is online now I fold for Overclock.net   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 11:57 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.15308 seconds with 8 queries