December 8, 200421 yr 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$)?
December 9, 200421 yr Author [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.
December 9, 200421 yr 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
December 9, 200421 yr Author ooooooh!!!i was wondering what those little guys were doing! ok, thanks!!
December 9, 200421 yr 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
December 9, 200421 yr 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!
December 9, 200421 yr 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.
January 5, 200521 yr The \BLAH shuold work fine Try it yourself in a command prompt. It's why CD \ goes to root.
Create an account or sign in to comment