dimanche 10 mai 2015

Copy file to user folder with a command line

I have search the web high and low, but can not find away to copy a file to the desktop with a command line.

Xcopy File.exe c:/users/%username%/desktop

This gives me a error like

Access denied

I look in to robocopy also, with no luck. Is there another program i can use?

Ps. I also tested

takeown /f <foldername> /r /d y

Aucun commentaire:

Enregistrer un commentaire