PPRuNe Forums - View Single Post - Xp & Dos
Thread: Xp & Dos
View Single Post
Old 26th February 2004 | 09:22
  #7 (permalink)  
CS-DNA
 
Joined: Apr 2002
Posts: 23
Likes: 0
From: Not far from LPPT
fobotcso,

If you need to reference extended file names on the command prompt you just need to
enclose those on double quotes (").

Example:
you need to copy file a.txt on c:\Documents and Settings\user\Desktop\ (the desktop)
to some other directory (say d:\test directory)
just do:
copy "c:\Documents and Settings\user\Desktop\a.txt" "d:\test directory"
You can also use xcopy or any other command/executable with the double quoted path.

If you are in doubt of the path, you can use the file name completion features on the
command prompt. Just write the first few characters of the file/directory and press
the TAB key. This will complete the path while the path is unique.

For a test of file name completion open the command prompt, change to C: and write
"do" at the prompt, then press tab. This should complete to "Documents and Settings",
unless you have another file/directory that shares part of the name.

I hope this is clear enough.

Hope this helps.
CS-DNA
CS-DNA is offline