zedox Posted March 7, 2006 Posted March 7, 2006 Hey, I want my cmdlines.txt file to call a registry file from a folder on the cd...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.
Nepali Posted March 7, 2006 Posted March 7, 2006 (edited) try 8.3 folder structureplz define whats in ur cmd file as welli.e make ur foldername shorter(no spaces) Edited March 8, 2006 by Nepali
mmarable Posted March 7, 2006 Posted March 7, 2006 I agree. Start simple, then make it more advanced. It may have a problem with the long filenames not being within their own quotes.
exrcizn Posted March 7, 2006 Posted March 7, 2006 What if you change what you haveREGEDIT /s Registry Tweaks/RegistryTweaks.regto thisREGEDIT /s Registry Tweaks\RegistryTweaks.regThe only difference being the \ instead of /
gunsmokingman Posted March 7, 2006 Posted March 7, 2006 (edited) This is how I have my reg tweaks in my Cmdlines.txt[COMMANDS]"REGEDIT /S MediaPlayer-HK_U_D.reg""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" Edited March 7, 2006 by gunsmokingman
zedox Posted March 7, 2006 Author Posted March 7, 2006 Its bizarre, as i call my .cmd file from a folder too.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.@NepaliI can't see how posting whats in my .cmd file would be of any help.
DL. Posted March 7, 2006 Posted March 7, 2006 I totally agree with exrcizn, no /:s in local paths!You could also try using foldernames without spaces.Putting .\ or just \ right before the path (.\Registry Tweaks\RegistryTweaks.reg) is another thing to try.
zedox Posted March 7, 2006 Author Posted March 7, 2006 OK cool, I've tested it using cmd.exe on a running version of Windows.It seems to work with backslashs, so I'll try the UA disc ona test machine now.Cheers.
Yzöwl Posted March 7, 2006 Posted March 7, 2006 (edited) Registry Tweaks has a space in its name and will not be accepted as correct cmdlines syntax.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" Edited March 7, 2006 by Yzöwl
CoolDude Posted March 8, 2006 Posted March 8, 2006 its the problem with the space in folder and filenames, use smaller names and it will work
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now