Jump to content

Recommended Posts

Posted

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.


Posted (edited)

try 8.3 folder structure

plz define whats in ur cmd file as well

i.e

make ur foldername shorter(no spaces)

Edited by Nepali
Posted

What if you change what you have

REGEDIT /s Registry Tweaks/RegistryTweaks.reg

to this

REGEDIT /s Registry Tweaks\RegistryTweaks.reg

The only difference being the \ instead of /

Posted (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 by gunsmokingman
Posted

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.

@Nepali

I can't see how posting whats in my .cmd file would be of any help.

Posted

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.

Posted

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.

Posted (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 by Yzöwl

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...