hidden hit counter
Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

command line question

 
   Soft32 Home -> Windows -> Configuration Manage RSS
Next:  Locally stored profile problem  
Author Message
Newtie

External


Since: Jun 02, 2009
Posts: 2



(Msg. 1) Posted: Wed Jun 03, 2009 9:31 am
Post subject: command line question
Archived from groups: microsoft>public>windowsxp>configuration_manage (more info?)

I've lost my standard command line default path which used to be C:\Documents
and Settings\my username

It now defaults to G:> which at my site is a network drive. How do I reset
it back to the default path?

Thanks,
Mark
Back to top
Login to vote
Rich Barry

External


Since: Mar 09, 2005
Posts: 454



(Msg. 2) Posted: Wed Jun 03, 2009 9:49 am
Post subject: Re: command line question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

At the command line type: cd C:\Documents and Settings\your username


"Newtie" <Newtie DeleteThis @discussions.microsoft.com> wrote in message
news:D7101AC7-F3BC-4EA2-A58F-4FCD6539BE52@microsoft.com...
> I've lost my standard command line default path which used to be
> C:\Documents
> and Settings\my username
>
> It now defaults to G:> which at my site is a network drive. How do I reset
> it back to the default path?
>
> Thanks,
> Mark
Back to top
Login to vote
Tim Meddick

External


Since: Jan 30, 2009
Posts: 184



(Msg. 3) Posted: Wed Jun 03, 2009 5:20 pm
Post subject: Re: command line question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you want your 'default' 'Command Prompt' path back (i.e. the folder
you're at when you first start the 'Command Prompt') then add this line to
the file Autoexec.nt in the system32 folder:

if %1]==] cd %USERPROFILE%

Adding this will NOT affect the right-click "Command Prompt from Here" shell
extension, will work as normal. Or you could change %USERPROFILE% for any
folder you want to be the default folder for Command Prompts.



==

Cheers, Tim Meddick, Peckham, London. Smile




"Newtie" <Newtie.RemoveThis@discussions.microsoft.com> wrote in message
news:D7101AC7-F3BC-4EA2-A58F-4FCD6539BE52@microsoft.com...
> I've lost my standard command line default path which used to be
> C:\Documents
> and Settings\my username
>
> It now defaults to G:> which at my site is a network drive. How do I reset
> it back to the default path?
>
> Thanks,
> Mark
Back to top
Login to vote
Display posts from previous:   
Related Topics:
XP home with no RUN command - After a fresh install of Windows XP home edition, and perhaps after installing Service Pack, I found there is no RUN..

Regedit - basic question - I am trying to resolve a printer problem and my printer software support has advised me to do something with my..

System restore question - I had a problem with my home network. After working fine for the longest time the kids couldn't print to or "see&...

Display Resolution - Hello: Is it possible to force the display resolution on multiple pc's running the same operating system? Is this an...

User account problems - I am trying to set up a separate user account with restrictions to programs and internet content for visiting..

Windows Firewall - We eliminated the Small Business Server from our network and installed Windows 2003 Server in workgroup. Part of the..
       Soft32 Home -> Windows -> Configuration Manage All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]