Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › A Programme that will cause a sequence of files to be opened with another programme.
New Posts  All Forums:Forum Nav:

A Programme that will cause a sequence of files to be opened with another programme. - Page 3

post #21 of 26
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
post #22 of 26
Thread Starter 
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.
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 BE comfortably 3.4GHz @ 1.345v Gigabyte MA770 UD3 GTX 460 786MB (OEM Refurb?) 4GB 1066MHz Buffalo Firestix Pyro 
Hard DriveHard DriveHard DriveOptical Drive
OS: Intel X25-V 40GB SSD Everything else: Spinpoint F3 500GB/16MB Backup: Barracuda 250GB/8MB TSST corp. DVD RW 
CoolingOSMonitorKeyboard
Thermalright Ultra 120a Vista Home Premium 32bit BENQ G2420HD Dell USB multimedia Keyboard 
PowerCaseMouse
CoolerMaster Extreme 650w Antec 300 w/ modded cable management Trust GM4200 (1600 DPI, 1.8g, 2ms) 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 BE comfortably 3.4GHz @ 1.345v Gigabyte MA770 UD3 GTX 460 786MB (OEM Refurb?) 4GB 1066MHz Buffalo Firestix Pyro 
Hard DriveHard DriveHard DriveOptical Drive
OS: Intel X25-V 40GB SSD Everything else: Spinpoint F3 500GB/16MB Backup: Barracuda 250GB/8MB TSST corp. DVD RW 
CoolingOSMonitorKeyboard
Thermalright Ultra 120a Vista Home Premium 32bit BENQ G2420HD Dell USB multimedia Keyboard 
PowerCaseMouse
CoolerMaster Extreme 650w Antec 300 w/ modded cable management Trust GM4200 (1600 DPI, 1.8g, 2ms) 
  hide details  
Reply
post #23 of 26
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.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom 9600 BE Asus M3A32-MVP Deluxe Watercooled Saphire 1GB 3870 X2 4 GB DDR2 800 OCZ HTC Reaper 
Hard DriveOptical DriveOSMonitor
2 x WD 500GB SATA 2 2 x SATA DVD-RW Vista Ultimate 32" HD TFT on HDMI 
KeyboardPowerCaseMouse
Saitek Eclipse II Zalman 850 Watt Heatpipe cooled Gigabyte Mercury 3D Genius Navigator 525 
Mouse Pad
Desk 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom 9600 BE Asus M3A32-MVP Deluxe Watercooled Saphire 1GB 3870 X2 4 GB DDR2 800 OCZ HTC Reaper 
Hard DriveOptical DriveOSMonitor
2 x WD 500GB SATA 2 2 x SATA DVD-RW Vista Ultimate 32" HD TFT on HDMI 
KeyboardPowerCaseMouse
Saitek Eclipse II Zalman 850 Watt Heatpipe cooled Gigabyte Mercury 3D Genius Navigator 525 
Mouse Pad
Desk 
  hide details  
Reply
post #24 of 26
Thread Starter 
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.
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 BE comfortably 3.4GHz @ 1.345v Gigabyte MA770 UD3 GTX 460 786MB (OEM Refurb?) 4GB 1066MHz Buffalo Firestix Pyro 
Hard DriveHard DriveHard DriveOptical Drive
OS: Intel X25-V 40GB SSD Everything else: Spinpoint F3 500GB/16MB Backup: Barracuda 250GB/8MB TSST corp. DVD RW 
CoolingOSMonitorKeyboard
Thermalright Ultra 120a Vista Home Premium 32bit BENQ G2420HD Dell USB multimedia Keyboard 
PowerCaseMouse
CoolerMaster Extreme 650w Antec 300 w/ modded cable management Trust GM4200 (1600 DPI, 1.8g, 2ms) 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 BE comfortably 3.4GHz @ 1.345v Gigabyte MA770 UD3 GTX 460 786MB (OEM Refurb?) 4GB 1066MHz Buffalo Firestix Pyro 
Hard DriveHard DriveHard DriveOptical Drive
OS: Intel X25-V 40GB SSD Everything else: Spinpoint F3 500GB/16MB Backup: Barracuda 250GB/8MB TSST corp. DVD RW 
CoolingOSMonitorKeyboard
Thermalright Ultra 120a Vista Home Premium 32bit BENQ G2420HD Dell USB multimedia Keyboard 
PowerCaseMouse
CoolerMaster Extreme 650w Antec 300 w/ modded cable management Trust GM4200 (1600 DPI, 1.8g, 2ms) 
  hide details  
Reply
post #25 of 26
... 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.
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
post #26 of 26
Thread Starter 
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.
Edited by desertmonk - 6/24/08 at 11:01am
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 BE comfortably 3.4GHz @ 1.345v Gigabyte MA770 UD3 GTX 460 786MB (OEM Refurb?) 4GB 1066MHz Buffalo Firestix Pyro 
Hard DriveHard DriveHard DriveOptical Drive
OS: Intel X25-V 40GB SSD Everything else: Spinpoint F3 500GB/16MB Backup: Barracuda 250GB/8MB TSST corp. DVD RW 
CoolingOSMonitorKeyboard
Thermalright Ultra 120a Vista Home Premium 32bit BENQ G2420HD Dell USB multimedia Keyboard 
PowerCaseMouse
CoolerMaster Extreme 650w Antec 300 w/ modded cable management Trust GM4200 (1600 DPI, 1.8g, 2ms) 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 BE comfortably 3.4GHz @ 1.345v Gigabyte MA770 UD3 GTX 460 786MB (OEM Refurb?) 4GB 1066MHz Buffalo Firestix Pyro 
Hard DriveHard DriveHard DriveOptical Drive
OS: Intel X25-V 40GB SSD Everything else: Spinpoint F3 500GB/16MB Backup: Barracuda 250GB/8MB TSST corp. DVD RW 
CoolingOSMonitorKeyboard
Thermalright Ultra 120a Vista Home Premium 32bit BENQ G2420HD Dell USB multimedia Keyboard 
PowerCaseMouse
CoolerMaster Extreme 650w Antec 300 w/ modded cable management Trust GM4200 (1600 DPI, 1.8g, 2ms) 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › A Programme that will cause a sequence of files to be opened with another programme.