Jump to content

Cant get the xcopy to work


Fedde
 Share

Recommended Posts

kk..

The U3 drive is :I

I have made a script like this:

md I:\ %computername%

md I:\ %computername%\Documents

md I:\ %computername%\Pictures

xcopy "C:\Documents and settings\%username%My Documents\ *.doc" %computername%\Documents

xcopy "C:\Documents and settings\%username%My Documents\ *.jpg" %computername%\Pictures

OK, the autorun.inf runs this on the U3 ROM. The bat file makes the Directories, but don't copy the files, i can't see why??

Any ideas?

Edit: Tried to run the file manually, now it says i don't find a file with the extension *.jpg, or *.doc

Edit2: 0MG... The error is here:

xcopy "C:\Documents and settings\%username%My Documents\ *.jpg" %computername%\Pictures

See? i forgot tu put I:\

Like this xcopy "C:\Documents and settings\%username%My Documents\ *.jpg" I:\ %computername%\Pictures

Link to comment
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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...