Jump to content

How to edit the BTS DriverPacks RUN_ME.cmd file.


Siginet

Recommended Posts

This is very important if you wish to have everything unattended during the packing process. It is actually very easy when you know what to change. I will post my current RUN_ME.cmd file... but make sure you manually do the changes because later releases of the BTS DriverPack Base may change.

OK. first thing you need to do is get rid of every instance of PAUSE

The easiest way to do this would be...

1. Right click the RUN_ME.cmd file and "Open With NotePad"

2. Press CTRL+H (Or go to the tab EDIT and choose REPLACE)

3. In the Find What box type: PAUSE

4. In the Replace With box type: REM ### Siginet PAUSE (You must at least use REM but I add the other text so I can easily reference back to it later if I want to put the changes back to normal.)

5. Now click on the Replace All button.

It should quickly make all of the changes thus far.

6. Find and replace each section below:

-------------------------------------------------------------------------------------------------------------------------------

Find "GUIRunOnce" or "RunOnceEx" Options:

SET CHOICE=

SET /P CHOICE="    "

IF /I '%CHOICE%'=='G' GOTO CPLs_GUIRunOnce

IF /I '%CHOICE%'=='R' GOTO CPLs_RunOnceEx

IF NOT /I '%CHOICE%'=='G' IF NOT /I '%CHOICE%'=='R' GOTO REPEAT_SETTING_1

Replace with:
REM ### Siginet SET CHOICE=

REM ### Siginet SET /P CHOICE="    "

REM ### Siginet IF /I '%CHOICE%'=='G' GOTO CPLs_GUIRunOnce

REM ### Siginet IF /I '%CHOICE%'=='R'

GOTO CPLs_RunOnceEx

REM ### Siginet IF NOT /I '%CHOICE%'=='G' IF NOT /I '%CHOICE%'=='R' GOTO REPEAT_SETTING_1

The choice I reccommend is in blue... but you can replace it with the red text if you wish.

-------------------------------------------------------------------------------------------------------------------------------

Find "SET ROE_NUMBER" Options:

SET ROE_NUMBER=
SET /P ROE_NUMBER="    "
IF /I '%ROE_NUMBER%'=='' GOTO REPEAT_CPLs_RunOnceEx

Replace With:

SET ROE_NUMBER=937

REM ### Siginet SET /P ROE_NUMBER="    "

REM ### Siginet IF /I '%ROE_NUMBER%'=='' GOTO REPEAT_CPLs_RunOnceEx

You may change the numbers in green if you wish. I think they have to be a 3 digit number though. ;)

-------------------------------------------------------------------------------------------------------------------------------

Find "KtD_ENABLE" or "KtD_DISABLE" Options:

SET CHOICE=

SET /P CHOICE=""

IF /I '%CHOICE%'=='Y' GOTO KtD_ENABLE

IF /I '%CHOICE%'=='N' GOTO KtD_DISABLE

IF NOT /I '%CHOICE%'=='Y' IF NOT /I '%CHOICE%'=='N' GOTO REPEAT_SETTING_2

Replace with:

SET CHOICE=

REM ### Siginet SET /P CHOICE=""

REM ### Siginet IF /I '%CHOICE%'=='Y' GOTO KtD_ENABLE

REM ### Siginet IF /I '%CHOICE%'=='N'

GOTO KtD_DISABLE

REM ### Siginet IF NOT /I '%CHOICE%'=='Y' IF NOT /I '%CHOICE%'=='N' GOTO REPEAT_SETTING_2

The choice I reccommend is in blue... but you can replace it with the red text if you wish.

-------------------------------------------------------------------------------------------------------------------------------

You can setup your RUN_ME.cmd file any way you like. The settings I chose above work best for me... and they save a lot of room on the disk. In my opinion those are the best settings. :whistle:

Good luck... and post here any questions pertaining to this tutorial. ;)

Edited by Siginet
Link to comment
Share on other sites


The smilies aren't messing up the code. ;) They are in a section of the code that does not matter anyways.

I used the quote feature because i wanted to use color tags. If I used a code box I wouldn't have been able to use color tags. B)

I fixed it for ya though. :D

Edited by Siginet
Link to comment
Share on other sites

Uuuuuuuuuuhm

you really really should want to try something like this:

put the following text in some file, call it keys.txt (for this example):

1

PLEASE pay attention to the newlines, it's '1' and then ONE newline.

then put keys.txt in the same dir as BTS_DPs_Slipstreamer_V5081.cmd, open a cmd prompt, go to the dir, and type this:

BTS_DPs_Slipstreamer_V5081.cmd < keys.txt

TADAA, you got past the question wich asks for the method. Now implement that in your scripts, or yeah, since you are using autoIt, why not just use sendkeys to get past those questions instead of having people editing huge files?

just a suggestion ;)

edit: and why did you post the whole cmd?

Edited by djbe
Link to comment
Share on other sites

Uuuuuuuuuuhm

you really really should want to try something like this:

put the following text in some file, call it keys.txt (for this example):

1

PLEASE pay attention to the newlines, it's '1' and then ONE newline.

then put keys.txt in the same dir as BTS_DPs_Slipstreamer_V5081.cmd, open a cmd prompt, go to the dir, and type this:

BTS_DPs_Slipstreamer_V5081.cmd < keys.txt

TADAA, you got past the question wich asks for the method. Now implement that in your scripts, or yeah, since you are using autoIt, why not just use sendkeys to get past those questions instead of having people editing huge files?

just a suggestion ;)

edit: and why did you post the whole cmd?

Nice tip. So how would I answer all of the questions? I will play around with it. ;)

I deleted the post of the cmd file ;) You are right... there was no need. :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...