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.

post #1 of 26
Thread Starter 
Right, i have had a rather good (IMO) idea that allows me to run my rig OC'd without crashing. However i don't have the know-how to implement it.

OC'ing via BIOS is out of the question completely, so it has to be done with nTune (yes i know... at least i know for next time...) Problem is if i raise the FSB more than 5mhz each time system is very likely to hang (let-alone making the jump from 200*13 to 231*13) but i can raise it 2-4mhz at a time fine.

So, i need a .exe file that i can keep on my desktop that does this when i double click it:


Open 204.nsu with nTune.cmd
wait 5 seconds
open 208.nsu with nTune.cmd
wait 5 seconds
open 212.nsu with nTune.cmd
wait 5 seconds
open 216.nsu with nTune.cmd
wait 5 seconds
open 220.nsu with nTune.cmd
wait 5 seconds
open 224.nsu with nTune.cmd
wait 5 seconds
open 228.nsu with nTune.cmd
wait 5 seconds
open 231.nsu with nTune.cmd
Close programme



*2XX.nsu is the name of the profile where the FSB is 2XX. If i was provided with a programme, i am capable of openign it in notepad and inserting the file location of 2XX.nsu and nTune.cmd.


Question 1) IS THAT POSSIBLE?

2) If that is a reasonably simple 10min task it would be BLEEPING AWSOME IF SOMEONE WOULD "CREATE" THAT PROGRAMME FOR ME. p.s. it has to be functional, so idc if it doesn't have an interface as such or anything that reports back the FSB (i have cpu-z etc to do that)

Thanks for any comments in advance.




P.S. this was posted in the general AMD CPU section, as i didn't notice the coding sub-forum. Any previously discussed thoughts ideas can be found: http://www.overclock.net/amd-general...-raise-my.html
    
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 #2 of 26
It's a 4 second task on linux. I dunno about windows but you should be able to make a batch file to do it.
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #3 of 26
Thread Starter 
Quote:
Originally Posted by rabidgnome229 View Post
It's a 4 second task on linux. I dunno about windows but you should be able to make a batch file to do it.
Right... well i'm running Vista 32bit and have no idea about programming. If it was a 4 second task and some-one could do it quickly then that would be awsome.

If not DW, i'll stick with stock speeds till i build a new rig.
    
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 #4 of 26
Go into Notepad and type the full path of all the files you want to run like so:

start "c:\\fake Directory\\240.nsu"
start "c:\\fake Directory\\260.nsu"

Save it as whatever you want .bat, and make sure that your computer automaticlly uses NTune to open .nsu files. Just double click the bat and it should run.
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
post #5 of 26
Quote:
Originally Posted by C-bro View Post
Go into Notepad and type the full path of all the files you want to run like so:

start "c:fake Directory240.nsu"
start "c:fake Directory260.nsu"

Save it as whatever you want .bat, and make sure that your computer automaticlly uses NTune to open .nsu files. Just double click the bat and it should run.
Well, with that it doesn't wait the 5 seconds. With that tho, you can do it manually. Have 1 for each file.. But i guess that defeats the purpose considering they are already launchable files.

If you can have an application that does it... watch out fire firewall or antivirus... they might view it as a hazard.
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 #6 of 26
Google says you can use "sleep <number of seconds>"
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #7 of 26
Thread Starter 
THANK YOU SO MUCH!!!!!!!!!!!!!!!!! Here's what i have so far (saved as .bat) I've hit enter after "start\\directory" and after "sleep 5 seconds" Is this correct or should it flow? P.S. here it is so far:

Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\201.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\203.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\205.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\207.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\209.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\211.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\213.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\215.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\217.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\219.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\222.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\224.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\226.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\228.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\230.nsu
sleep 5 seconds
Start C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\231.nsu
sleep 5 seconds


Do i need to add anything on the end to tell the programme to close or anything? oh and plus rep for both of you and more rep for anyone that can get it to work lol



EDIT: I get an error message saying windows can't find c:\\user... I have double checked the file path is correct. Could it be because Appdata is one of those "hidden" locations (or whatever the term/reason is) I will now try making a seperate folder in a non-hidden location (e.g. My docs) and put all the .nsu files in there.

EDIT: The above edit didn't work.

EDIT: when the cmd.exe appears and runs through the .bat file it says "sleep 5 seconds" is not a recognised command



I Guess it's not working because i've missed something obvious (like a \\) to anyone who knows anything about prgramming lol?

Edited by desertmonk - 6/23/08 at 2:49am
    
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 #8 of 26
no, it's the spaces in the path. Enclose the path part of the command in quotes like this:

Start "C:\\Users\\Steven\\appdata\\Local\\NVIDIA Corporation\
Tune\\Profiles\\231.nsu"

Should work then

Edit: And remove the word seconds from the end of the sleep command. That isn't an option and it counts in seconds by default
Edited by magus.tsf - 6/23/08 at 2:46am
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 #9 of 26
Thread Starter 
Quote:
Originally Posted by magus.tsf View Post
no, it's the spaces in the path. Enclose the path part of the command in quotes like this:

Start "C:UsersStevenappdataLocalNVIDIA CorporationnTuneProfiles231.nsu"

Should work then

Edit: And remove the word seconds from the end of the sleep command. That isn't an option and it counts in seconds by default

OK, it now looks like this:


Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\201.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\203.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\205.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\207.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\209.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\211.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\213.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\215.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\217.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\219.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\222.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\224.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\226.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\228.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\230.nsu"
sleep 5
Start "C:\\Users\\Steven\\Documents\\My Documents\\OVERCLOCK PROGRAM\\231.nsu"
sleep 5 seconds


When i double click the desktop shortcut i made, i get about 20 odd cmd.exe popping up. As you might be able to see from CPU-Z, the FSB hasn't changed.

    
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 #10 of 26
when you double-click on one of these .nsu files does the fsb change then or do you get a windows asking what program to use to open the file?
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
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.