Computer Hope

Microsoft => Microsoft DOS => Topic started by: reybar27 on June 10, 2008, 08:56:54 PM

Title: folder in the desktop
Post by: reybar27 on June 10, 2008, 08:56:54 PM
how to copy a file when my folder is in the desktop?for example,i will create a folder in DOS cmd,then it will appear in the desktop,and i want to copy a file in my new create folder,what should i do?
Title: Re: folder in the desktop
Post by: Dusty on June 10, 2008, 09:52:37 PM
Like just about everything else the Desktop is contained in a folder.   If you want to copy a file to your new desktop folder using Dos or the Command Prompt you should use the Copy command e.g.

Copy_file.ext_"c:\Documents_and_Settings\All_Users\Desktop\New_Folder\"

or

Copy_file.ext_"c:\Documents_and_Settings\Administrator\Desktop\New_Folder\"

The above is ok in Windows 2k, you didn't mention which operating system you are using.  (Replace the _ with spaces)

Of course in Explorer you can simply Copy/Paste the file.

Good luck