Calling a reg file from cmdlines.txt
#1
Posted 07 March 2006 - 06:44 AM
what code do i need to make this happen?
The reg file is called RegistryTweaks.reg and is located ina folder called "Registry Tweaks" within the $OEM$ folder on my UA CD.
"REGEDIT /s Registry Tweaks/RegistryTweaks.reg"
Doesnt work.
#2
Posted 07 March 2006 - 07:05 AM
plz define whats in ur cmd file as well
i.e
make ur foldername shorter(no spaces)
This post has been edited by Nepali: 08 March 2006 - 04:46 AM
#3
Posted 07 March 2006 - 07:27 AM
#4
Posted 07 March 2006 - 07:36 AM
REGEDIT /s Registry Tweaks/RegistryTweaks.reg
to this
REGEDIT /s Registry Tweaks\RegistryTweaks.reg
The only difference being the \ instead of /
#5
Posted 07 March 2006 - 08:08 AM
Quote
"REGEDIT /S wmp10.reg"
"REGEDIT /S 000.reg"
"REGEDIT /S 020.reg"
"REGEDIT /S 040.reg"
"REGEDIT /S 060.reg"
"REGEDIT /S 080.reg"
"UserAcount.cmd"
"UaPrestart.cmd"
"RunOnceEx.cmd"
This post has been edited by gunsmokingman: 07 March 2006 - 08:10 AM
#6
Posted 07 March 2006 - 08:09 AM
this is my cmdlines.txt
[COMMANDS] "REGEDIT /S Registry Tweaks/RegistryTweaks.reg" "Batch Tweaks/RunOnceEx.cmd"
The RunOnceEx.cmd runs fine, but RegistryTweaks.reg doesn't work.
@Nepali
I can't see how posting whats in my .cmd file would be of any help.
#7
Posted 07 March 2006 - 08:43 AM
You could also try using foldernames without spaces.
Putting .\ or just \ right before the path (.\Registry Tweaks\RegistryTweaks.reg) is another thing to try.
#8
Posted 07 March 2006 - 08:47 AM
It seems to work with backslashs, so I'll try the UA disc ona test machine now.
Cheers.
#9
Posted 07 March 2006 - 09:10 AM
Rename the directory to REG_TWKS and see if either of these works
"REGEDIT /s REG_TWKS\RegistryTweaks.reg"
"REGEDIT /s ..\$OEM$\REG_TWKS\RegistryTweaks.reg"
This post has been edited by Yzöwl: 07 March 2006 - 09:59 AM
#10
Posted 08 March 2006 - 02:22 AM
- ← DVD boot image for xp? (install too big for a CD)
- Unattended Windows 2000/XP/2003
- Reinstall Windows image from boot.ini →



Help

Back to top









