Command

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Is it posible to set the Command Prompt to not display
the full path? I am working in a directory:
C:\Documents and Settings\Eric\My Documents\My Programs
and takes more space in the window than I like to use.
 
Sure, at the command prompt type

set PROMPT=c:

replace c: with whatever you like.

--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.

Mike Brearley
 
Eric said:
Is it posible to set the Command Prompt to not display
the full path? I am working in a directory:
C:\Documents and Settings\Eric\My Documents\My Programs
and takes more space in the window than I like to use.

prompt /?

Will list your options, I think.
 
so,

set prompt=$N:$G

will get you just your drive letter with no path.

--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.

Mike Brearley
 
Is it posible to set the Command Prompt to not display
the full path? I am working in a directory:
C:\Documents and Settings\Eric\My Documents\My Programs
and takes more space in the window than I like to use.

Another option:
Create a shortcut for CMD.EXE. Then in properties, edit the "Start in" line
to C: (or whatever path you'd like). Place the shortcut into the Quick
Launch bar or somewhere else that is handy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top