|
Answer» I added a hard drive as a slave to my computer for sharing files on my home network. I'm just messing around trying to see if I can copy a file from that drive (D) to the desktop of the C drive using the command line and nothing I've tried will work. It either tells me that my "syntax" is not correct, or tells me that it cannot find the specified file or folder.
So far this is what I've tried:
copy D:\path\file.rtf C:\DOCUMENTS and settings\my name\desktop
I've also tried copying while in the D directory and that doesn't SEEM to work either. Right-clicking on the command prompt and running it as Administrator doesn't HELP any, either.
The drive IS available, is SHOWS up in My Computer and in Disk Management, so I know the computer is recognizing it
edit: does it make any difference if the READ ONLY attribute is set on the parent folder of the file I'm trying to copy? The file itself doesn't have the READ ONLY attribute set, but the folder that it's in does.
copy D:\path\file.rtf "C:\documents and settings\my name\desktop\file.rtf"
I'll be damned, it worked like a charm! THANKS
I tried first without the quotes and then with the quotes.
What the deal with the quotes? Why won't the command work without them?The computer reads until the first space without the quotes.....
The quotes tells the machine to read everything between as one thing.....
ahhhhhhhhhhhhhhhhhhh, illumination!
|