|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
A Programme that will cause a sequence of files to be opened with another programme.
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
New to Overclock.net
|
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
|
|||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Apple Doesn't Love You
|
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.
|
|||||||||||||
|
|
|
|
#3 (permalink) | ||||||||||||||
|
New to Overclock.net
|
Quote:
If not DW, i'll stick with stock speeds till i build a new rig.
|
||||||||||||||
|
|
|
|
|
#4 (permalink) | ||||||||||||
|
110100001101001111000
|
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.
__________________
|
||||||||||||
|
|
|
|
#5 (permalink) | |||||||
|
New to Overclock.net
|
Quote:
If you can have an application that does it... watch out fire firewall or antivirus... they might view it as a hazard.
|
|||||||
|
|
|
|
|
#6 (permalink) | |||||||||||||
|
Apple Doesn't Love You
|
Google says you can use "sleep <number of seconds>"
|
|||||||||||||
|
|
|
|
#7 (permalink) | |||||||||||||
|
New to Overclock.net
|
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?
Last edited by desertmonk : 06-23-08 at 05:49 AM. |
|||||||||||||
|
|
|
|
|
#8 (permalink) | |||||||||||||
|
PC Gamer
|
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\nTune\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
__________________
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.
Last edited by magus.tsf : 06-23-08 at 05:46 AM. |
|||||||||||||
|
|
|
|
|
#9 (permalink) | ||||||||||||||
|
New to Overclock.net
|
Quote:
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. ![]()
|
||||||||||||||
|
|
|
|
|
#10 (permalink) | |||||||||||||
|
PC Gamer
|
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?
__________________
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.
|
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|