Simple copy Command


Recommended Posts

think of it this way. the copy command needs two arguments. The first one is the file you are going to copy, the second is the destination to copy it two. CMD.exe splits the arguments up with spaces. So it is kind of like this, you used 4 arguments

copy(command)  test.txt(first argument)  C:\documents(second argument)  and(third argument)  settings\desktop(fourth argument)

by using quotes you have just two arguments

copy(command)  test.txt(first argument)  "C:\documents and settings\desktop"(second argument)

Edited by shanenin
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...