a06lp Posted December 8, 2004 Posted December 8, 2004 Hi,I am tryng to call my RegTweaks file (located at: XPCD\Tweaks\RegTweaks.reg) from my cmdlines.txtRight now, my cmdlines.txt contains:[COMMANDS]"REGEDIT /S RegTweaks.reg"how do I fix this so the file is called from the CD path (I dont want the file RegTweaks.reg to be in $OEM$)?
MHz Posted December 8, 2004 Posted December 8, 2004 [COMMANDS]"REGEDIT /S ..\Tweaks\RegTweaks.reg"This should do it.
SiMoNsAyS Posted December 8, 2004 Posted December 8, 2004 and why don't just place it in the same folder as cmdlines.txt?
durex Posted December 8, 2004 Posted December 8, 2004 same reason i dont, i imagine.. anal retentive.
a06lp Posted December 9, 2004 Author Posted December 9, 2004 [COMMANDS]"REGEDIT /S ..\Tweaks\RegTweaks.reg"This should do it.i'm not exactly sure how this is working, but my cmdlines.txt is in XPCD\$OEM$wouldn't "REGEDIT /S ..\Tweaks\RegTweaks.reg" look for it in: XPCD\$OEM$\Tweaks\RegTweaks.reg ?? or am i missing something???SiMoNsAyS Posted on Dec 8 2004, 11:26 AM and why don't just place it in the same folder as cmdlines.txt? durex Posted on Dec 8 2004, 05:23 PM same reason i dont, i imagine.. anal retentive. LOL. thats it, partially. also because i run my regtweaks again from WPI later on (from the CD), and I don't want 2 copies of the file, in case i update one and forget the other. plus, i want to limit installing to the new formatted harddrive to as little as possible.
prathapml Posted December 9, 2004 Posted December 9, 2004 wouldn't "REGEDIT /S ..\Tweaks\RegTweaks.reg" look for it in: XPCD\$OEM$\Tweaks\RegTweaks.reg ?? or am i missing something???No, that would work perfectly the way you want it.The two dots mean "parent folder". So, you work it out and see...\Tweaks\RegTweaks.reg--equals--XPCD\Tweaks\RegTweaks.reg
a06lp Posted December 9, 2004 Author Posted December 9, 2004 ooooooh!!!i was wondering what those little guys were doing! ok, thanks!!
MCT Posted December 9, 2004 Posted December 9, 2004 fyi..\install\reg\something.reg\ = cdrootor, u can do it the way they are showing & go up a level with . (which IMO is harder 2 learn) \ = %cdrom% sort of [commands]"\install\reg\something.reg"would work if u have an "install" directory @ the root of your cd
durex Posted December 9, 2004 Posted December 9, 2004 fyi..\install\reg\something.reg\ = cdrootor, u can do it the way they are showing & go up a level with . (which IMO is harder 2 learn) \ = %cdrom% sort of [commands]"\install\reg\something.reg"would work if u have an "install" directory @ the root of your cd thats even better.... thx!
prathapml Posted December 9, 2004 Posted December 9, 2004 @MCT(no offense meant) Brush up on your DOS! It don't work that way.
Vadikan Posted December 9, 2004 Posted December 9, 2004 GreenMachine's explanation of the same stuff.
MHz Posted December 9, 2004 Posted December 9, 2004 Short answer....\ = Current directory..\ = Up one directory\ is a backslash. On it's own means nothing.We are using DOS, correct? Not a program helper.I think GreenMachine's post is being taken in the wrong meaning.
OCedHrt Posted January 5, 2005 Posted January 5, 2005 The \BLAH shuold work fine Try it yourself in a command prompt. It's why CD \ goes to root.
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