Jump to content

Recommended Posts

Posted

this might be a stupid question but, when i open my DOS window it says "C:Documents and SettingsHP_Owner>"

is there anyway i could make it say just "C:>"?

Posted

Copy and paste the code into a .reg file

Windows Registry Editor Version 5.00



[HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor]

"Autorun"="CD /D C:Windows"

Change the Autorun value to the path that you want cmd to start in.

Leave the "CD /D " part. That tells the console to CD, then go to a path. Use "" as an escape character.

Posted
Copy and paste the code into a .reg file

Windows Registry Editor Version 5.00



[HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor]

"Autorun"="CD /D C:Windows"

Change the Autorun value to the path that you want cmd to start in.

Leave the "CD /D " part. That tells the console to CD, then go to a path. Use "" as an escape character.

In WindowsXP professional, registry editor 5.1 its in [HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]

And for going to the command prompt (C:) all you need to put in the Autorun string value is "CD" (without the "").

Cheers.

Posted

Local Machine will effect everyone.

Current User will only effect, well the current user.

Also, if you change this your batch scripts will not work unless in your batch you call by the full path name (ie C:Scriptsnircmd.exe not nircmd.exe that is in the root directory).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...