Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 16-Feb-2005, 19:54   #1
swaaye
Entirely Suboptimal
 
Join Date: Mar 2003
Location: WI, USA
Posts: 6,867
Default Batch File Help

I am using a batch file to do some complicated overclocking on my notebook. The A64 in here is really picky about when the RAM clock can change: it has to be at 800Mhz first. So, I set up a batch file to first set the FID to 4x using Clockgen, then apply the RAM settings with a line for A64Tweaker, then return the CPU to 9x FID using Clockgen again.

It works fabulously. Though I had to remove AMD's processor driver to get it to work 100%....or the CPU would sometimes change clock during the batch and lock up the system. So, now I'm planning to use RMClock to replace the normal Powernow functions.

My question is, is there a way to start a program within a batch file and still have the batch file quit? It's easy enough to start RMClock within the batch, but the batch file never ends that way.... And starting RMClock elsewhere is not an option because if it starts while the batch is running, it will lock up the system.

Eh?
swaaye is offline   Reply With Quote
Old 17-Feb-2005, 05:29   #2
Albuquerque
Red-headed step child
 
Join Date: Jun 2004
Location: Guess ;)
Posts: 3,088
Default

Sure can. If you're on a Win2K or later system, just use the "start" command. Example:

Code:
@ECHO OFF
<insert your batch logic here>
start "c:\program files\cpumsr\cpumsr.exe" -d6 -a0844
I threw CPUMSR in there with some false command lines, but you get the idea. Your batch will exit as soon as the external application is started. Should be near-instantaneous.

Not to gloat, but I'm pretty stinkin' good with batch commands, especially in archaic DOS systems I maintain our corporate BootCD, which contains a significant amount of batch logic to autodetect machine types, physical network location awareness, and a ton of other stuff. We use it for large-scale imaging of workstations and servers.
Albuquerque is offline   Reply With Quote
Old 17-Feb-2005, 16:19   #3
swaaye
Entirely Suboptimal
 
Join Date: Mar 2003
Location: WI, USA
Posts: 6,867
Default

Yup that does the trick. Thanks!
swaaye is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online TrID file identifier Mark0 Hardware & Software Talk 11 13-Oct-2005 19:59
Half life 2 tweaks micky PC Games 7 18-Jul-2005 19:16
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, it's HEEEEEEEEEEEEEERE! T2k PC Games 78 18-Nov-2004 11:50
page file gone up mad max 3D Hardware, Software & Output Devices 6 11-Nov-2004 13:33
TrID File Identifier Mark0 Hardware & Software Talk 5 21-Jun-2004 11:34


All times are GMT +1. The time now is 17:33.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.