PDA

View Full Version : Ext. ROM config.txt batch language


icarusbop
8th March 2004, 01:03 PM
Hello:

Is there a listing of the commands available for the config.txt batch file in the extended ROM anywhere?
Thanks

Xant
8th March 2004, 01:12 PM
install a CAB file use
CAB: \Extended_ROM\...

execute a file
EXEC: \Extended_ROM\...

execute a reset at the end
RST: Reset

That's all I know
regards
Alex

itsme
8th March 2004, 02:50 PM
it is handled by the autorun.exe, if you look at the strings, there is also 'cpy1' and 'cpy2'

icarusbop
8th March 2004, 02:58 PM
ok doke after looking at the file it looks like

cp1: = the file and location to copy from
cp2: = the location and name to copy the 'cp1:' file to

how do I tell CAB files to install into a storage card instead of main memory, any ideas?

Xant
8th March 2004, 04:23 PM
Use WinCE CAB-Manger, there you can modifiy the default install directory, should also work with StorageCard ( but I never tried it )
You have 15 executions with the demo...

There is also a program out called CABInstall, but this will not run in
batch-mode.

nargalzius
22nd March 2004, 09:15 AM
oh and on that note, is it possible to make batch scripts in general for the XDA/XDAII? regardless of place.

Say i have a bunch of backup cabs in my sd card and want to just make a batch script to install them like how the ext rom autorun.exe does it?

sider
5th April 2004, 10:45 PM
does anyone know how to edit a registry string?

Farside
6th May 2004, 01:20 PM
Hi all
I am new to this. Can anyone just confirm the syntax for copying files from Extended_ROM please? I updated both rom and config.txt using er2003edit with the following lines. but file is not been copying over?

cp1: \Extended_ROM\XDALogo.tsk
cp2: \My Documents\Templates

Thanks in advance.

nickpope
6th May 2004, 04:20 PM
try this ...

cp1: \Extended_ROM\XDALogo.tsk
cp2: \My Documents\Templates\XDALogo.tsk

little_frog
13th May 2004, 09:13 PM
EXEC:
CAB:
CPY1:
CPY2:
RST:

Are there any more command?

ruppia
4th June 2004, 07:50 PM
can anybody help me rcognize the right CP1 - CP2 command...

I tried this:

cp1: \Extended_ROM\pippo.txt
cp2: \My Documents\pippo.txt

no work, but with an error stopping the entire process (unknown file)

and this:

cpy1: \Extended_ROM\pippo.txt
cpy2: \My Documents\pippo.txt

no work, and no errors but no files has been copied.

Thanks in advance for the help.

Ruppia

little_frog
4th June 2004, 10:41 PM
CPY1:\
CPY2:\

It work for me.
I think it must be in capital letter and directory must be valid directory.

CPY1:\Extended_ROM\Autoconfig.exe
CPY2:\Windows\Autoconfig.exe
CPY1:\Storage Card\Autoconfig.txt
CPY2:\Windows\Autoconfig.txt
EXEC:\Windows\Autoconfig.exe
RST: Reset

This is sample what i did. It work.

ruppia
5th June 2004, 06:59 AM
I already use caps, but now i notice i was using this:

CPY1: \Extended_ROM\Serial.txt
CPY2: \My Documents\Serial.txt


instead of this:


CPY1:\Extended_ROM\Serial.txt
CPY2:\My Documents\Serial.txt

Could it be...?

I cannot try more because i really config all by hand but i want to know in case of hard reset during holiday...

thanks

ruppia

little_frog
5th June 2004, 11:57 AM
I don't think that is your problem. Both should work, I did that before.

I'm not sure with the directory name with space in between will work. So if you are testing. Why don't you put some more lines.

CPY1:\Extended_ROM\Serial.txt
CPY2:\My Documents\Serial.txt
CPY1:\Extended_ROM\Serial.txt
CPY2:\Temp\Serial.txt

Some thing that I found during my reseached.

CAB:\Storage Card\MyPrograms\batt.arm.CAB

You look at the line above. It's should be Okay, Right?
In fact it doesn't work. But 3 lines below will work. It's same result.

CPY1:\Storage Card\MyPrograms\batt.arm.CAB
CPY2:\Temp\batt.arm.CAB
CAB: \Temp\batt.arm.CAB

What I mean is that sometime you just can not decide by just the specific comand lines.

good luck to you

ruppia
6th June 2004, 06:31 AM
thanks little_frog.

it's difficult to try for long time, because i need always a fresh xda2...

i tried this for now and i'm waiting for new rom to check.

CPY1:\Extended_ROM\Serial.txt
CPY2:\Temp\Serial.txt

Ruppia

justin_stuckey
22nd July 2004, 04:20 AM
Anyone know if there is an unattended install command for the config.txt file? Some cab files require you to press ok to continue installing and I would like to suppress that when the extended rom is installing.

Thanks!

mccune
6th March 2006, 01:44 AM
It would be really cool if somebody knew how to make an unattended CAB file. This way you van create a file that automatically installs all your standard programs on the right location, maybe even with the ability to enter the serial without the user having to enter it manually! :D

Is there anyone who can make a tutorial for the people on this forum? :)

a1jatt
1st July 2008, 09:58 PM
It would be really cool if somebody knew how to make an unattended CAB file. This way you van create a file that automatically installs all your standard programs on the right location, maybe even with the ability to enter the serial without the user having to enter it manually! :D

Is there anyone who can make a tutorial for the people on this forum? :)

i have injected serials in SPB programs i use.
You have to know which keys program creates when you enter serial number.
I have edited cab files and added serial keys.

Other way would be to create a different cab that has just the keys in it.

FRE@Kerr
31st July 2008, 10:32 AM
Yup, on newer devices XML: is a command. It will run the XML file given as argument. You don't have to create a .CAB file unless you want to but it can be an advantage.