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 06-23-08   #21 (permalink)
New to Overclock.net
 
Join Date: May 2008
Location: Nottingham, UK
Posts: 24

Rep: 7 Stormwolf Unknown
Unique Rep: 5
Trader Rating: 0
Default

Quote:
Originally Posted by desertmonk View Post
I am confused about where i should put the /b and /wait?

start/b "file path"

And are you saying replace sleep 5 with /wait 5
/b and /wait are both command line parameters to 'Start' (if you type 'start /?' at the command prompt you'll see them listed along with about a dozen others).

You would type
Code:
Start /b /wait "C:UsersStevenDocumentsMy DocumentsOVERCLOCK PROGRAM201.nsu"
You don't replace the 'sleep' with 'wait' - the wait switch is simply used to ensure one task is completed before the next one begins, because start fires up a new thread each time it is called. By using /wait it will run each 'start' command line to completion before it reaches the 'sleep' line, rather than firing up the first command, waiting 5 seconds and then firing up the next... there is a big difference if you think about it.

tbh you don't really want to be using 'start' here - especially if it's asking for message box confirmation from the user. (Sorry I don't know how nTune works exactly).

Check here for more info
http://www.fpschultze.de/smartfaq+faq.faqid+71.htm
Stormwolf is offline   Reply With Quote
Old 06-23-08   #22 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Feb 2008
Posts: 69

Rep: 4 desertmonk Unknown
Unique Rep: 4
Trader Rating: 0
Default

Quote:
Originally Posted by Stormwolf View Post
/b and /wait are both command line parameters to 'Start' (if you type 'start /?' at the command prompt you'll see them listed along with about a dozen others).

You would type
Code:
Start /b /wait "C:UsersStevenDocumentsMy DocumentsOVERCLOCK PROGRAM201.nsu"

So i have to use /wait in conjunction with Start

Adding start /b /wait infront of each "c:\users..." made it not work. I have the commands listed in chronoligcal order so being a bacth file it should execute the commands in the order they appear? Anyhow it seems to work with just:

"directory"
sleep 5

Although, i doubt it is actually "sleeping" for 5 seconds before it tries to launch the next .nsu file.
__________________
System: MY COMPUTER
CPU
Athlon 64 X2 5000+
Motherboard
DELL ORY206 (MCP61 chipset)
Memory
3070mb DDR2 667
Graphics Card
GeForce 8600GT 256mb (630/800)
Hard Drive
250gb
Sound Card
Onboard RealTek 7.1 HD
Power Supply
300w Dell
Case
Inspiron 531
CPU cooling
Stock heatsink, 80mm fan
GPU cooling
Stock
OS
Vista Home Premium 32bit
Monitor
19" Widescreen 1440 x 900 5ms
desertmonk is offline   Reply With Quote
Old 06-23-08   #23 (permalink)
PC Gamer
 
magus.tsf's Avatar
 
amd ati

Join Date: Mar 2008
Location: Deepest Wales
Posts: 150

Rep: 22 magus.tsf is acknowledged by some
Unique Rep: 19
Trader Rating: 0
Default

Quote:
Originally Posted by desertmonk View Post
So i have to use /wait in conjunction with Start

"directory"
sleep 5

Although, i doubt it is actually "sleeping" for 5 seconds before it tries to launch the next .nsu file.
Actually it does, doing it that way will parse through the commands one at a time. It will not continue to the next one until the previous one has been completed.
__________________

The Black Mesa Survivors Club


Aoccdrnig to a rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht frist and lsat ltteer is at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae we do not raed ervey lteter by itslef but the wrod as a wlohe.

System: My System
CPU
Phenom 9600 BE
Motherboard
Asus M3A32-MVP Deluxe
Memory
4 GB DDR2 800 OCZ HTC Reaper
Graphics Card
Watercooled Saphire 1GB 3870 X2
Hard Drive
2 x WD 500GB SATA 2
Sound Card
Onboard 8.1 channel
Power Supply
Zalman 850 Watt Heatpipe cooled
Case
Gigabyte Mercury 3D
CPU cooling
Water
GPU cooling
EK Full Cover Waterblock
OS
Vista Ultimate
Monitor
32" HD TFT on HDMI
magus.tsf is offline   Reply With Quote
Old 06-24-08   #24 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Feb 2008
Posts: 69

Rep: 4 desertmonk Unknown
Unique Rep: 4
Trader Rating: 0
Default

Quote:
Originally Posted by magus.tsf View Post
doing it that way will parse through the commands one at a time.
By "that way" are you refering to start /b /wait "directory" sleep 5 or "directory" sleep 5.

I am currently using just "directory" sleep 5 because it works and start /b /wait made it not work (so i obviously did something wrong) But hey, 2 or 3 days after posting i now have this batch file that makes using my overclock possible, without fear of crashing the OS or blue screening. I also did i nice little reverse overclock bat file too to bring it back down to stock from OC.

Once again many thanks! and + rep for all your help.
__________________
System: MY COMPUTER
CPU
Athlon 64 X2 5000+
Motherboard
DELL ORY206 (MCP61 chipset)
Memory
3070mb DDR2 667
Graphics Card
GeForce 8600GT 256mb (630/800)
Hard Drive
250gb
Sound Card
Onboard RealTek 7.1 HD
Power Supply
300w Dell
Case
Inspiron 531
CPU cooling
Stock heatsink, 80mm fan
GPU cooling
Stock
OS
Vista Home Premium 32bit
Monitor
19" Widescreen 1440 x 900 5ms
desertmonk is offline   Reply With Quote
Old 06-24-08   #25 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Feb 2008
Posts: 183

Rep: 10 Mrzev Unknown
Unique Rep: 9
Trader Rating: 0
Default

... i have never tried to use python before, but wouldnt it be able to run a seperate program that will press the button for you? Since its being lauched it would have focus on that, and all that needs to be pressed is spacebar.
__________________
System: Zev's Comp
CPU
AMD Athlon 64 X2 4400+ 2.2ghz
Motherboard
DFI-LANPARTY nF4 SLI-DR
Memory
OCZ Platinum 3gb (2x1gb) +(2x512meg)
Graphics Card
EVGA GeForce 8800GTS 640MB 320-bit GDDR3 PCI Expre
Hard Drive
300gig WD 7200RPM SATA
Mrzev is offline   Reply With Quote
Old 06-24-08   #26 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Feb 2008
Posts: 69

Rep: 4 desertmonk Unknown
Unique Rep: 4
Trader Rating: 0
Default

BIG EDIT:

Oh and i got the blue screen "hardware error" message again... I guess the OS doesn't like the FSB jumping around alot when it's running. I am goign to save this OC just for benchmarks till i can get a MOBO that allows OCing via BIOS, so running it minimized/at startup/getting rid of the 48 pop up messages doesn't apply anymore.

Thanks for all your help anyway.
__________________
System: MY COMPUTER
CPU
Athlon 64 X2 5000+
Motherboard
DELL ORY206 (MCP61 chipset)
Memory
3070mb DDR2 667
Graphics Card
GeForce 8600GT 256mb (630/800)
Hard Drive
250gb
Sound Card
Onboard RealTek 7.1 HD
Power Supply
300w Dell
Case
Inspiron 531
CPU cooling
Stock heatsink, 80mm fan
GPU cooling
Stock
OS
Vista Home Premium 32bit
Monitor
19" Widescreen 1440 x 900 5ms

Last edited by desertmonk : 06-24-08 at 02:01 PM.
desertmonk is offline   Reply With Quote
Reply



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



All times are GMT -4. The time now is 03:19 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.15031 seconds with 9 queries