Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cmdlines use %cdrom%?

Featured Replies

Hi,

I am tryng to call my RegTweaks file (located at: XPCD\Tweaks\RegTweaks.reg) from my cmdlines.txt

Right 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$)?

[COMMANDS]
"REGEDIT /S ..\Tweaks\RegTweaks.reg"

This should do it.

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

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

  • Author

ooooooh!!!

i was wondering what those little guys were doing!

ok, thanks!!

fyi..

\install\reg\something.reg

\ = cdroot

or, u can do it the way they are showing & go up a level with . (which IMO is harder 2 learn) \ = %cdrom% sort of :P

[commands]

"\install\reg\something.reg"

would work if u have an "install" directory @ the root of your cd :)

fyi..

\install\reg\something.reg

\ = cdroot

or, u can do it the way they are showing & go up a level with . (which IMO is harder 2 learn)    \    = %cdrom% sort of :P

[commands]

"\install\reg\something.reg"

would work if u have an "install" directory @ the root of your cd :)

thats even better.... thx!

@MCT

(no offense meant) Brush up on your DOS! :P

It don't work that way.

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.

  • 4 weeks later...

The \BLAH shuold work fine :P Try it yourself in a command prompt. It's why CD \ goes to root.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.