Jump to content

Calling a reg file from cmdlines.txt


Recommended Posts

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.

Link to comment
Share on other sites


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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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