How to type Long directory name in command mode?

  • Thread starter Thread starter Piggyman
  • Start date Start date
P

Piggyman

In Win2000 command prompt, how can I type file or directory which name are
multiple words?
Example: Delete directory called 'Shared File'? I try: rmdir Shared Files
but get following messages
The system cannot find the file specified.

Thanks for your help in advance!
 
You have 3 options (well 2 actually)...

Put the file/directory name in quotes (eg "Shared File").
Use the file/directory's short (8.3) name. To find this type dir /x at the
command prompt. (eg "Program Files" will show up as PROGRA~1).
And finally (this is essentially the same as the first option): enable
command line completion. This can be done via TweakUI (although I'm sure
there are other ways). With this you can enter the first few characters of
the file/directory name, press the file completion key (defaults to TAB) and
it will match the whole file/directory name.
 
Back
Top