|
Answer» I allways get stuck with this! In Windows I sometimes need to copy/move folders or files that have spaces in them i.e., My Documents.
I can manage this by using " " around the complete file or folder spec. But if I need to CD to a folder which has a space in the name I get stuck.
cd "My Documents" doesn't work.
Can anyone remind me and help me out?
Thanks NigelYou need to use a full path name otherwise CD is relative to the directory you are currenly logged into.
cd "\My Documents"
HOPE this helps. Thanks SW,
That doesn't SEEM to work for me, sorry if I missunderstand. I get PARAMETER format not correct - "\My
I am sitting in the folder with the My Documents folder in it.
Can you advise further? Does that work for you?
Thanks Nigel P.S. Thanks for the very quick response.try putting the \ before the " cd\"my documents"Thanks again. Someone else has pointed up PERHAPS the fundemental flaw in my working here. I usually run 'command' to get a DOS window up, but if I run 'cmd' instead I can enter folders with spaces in the names and it works (WITHOUT parenthesis).
I think I am sorted.
Thanks for your help
Nigel
|