Copy file in server 2008 -
i want write *.bat
file re-create it's not working:
-source: (ex) \\192.168.1.100\data\ exception.sites (file exception.sites) -destination: %userprofile%\appdata\locallow\sun\java\deployment\security (%userprofile%\ c:\user\acc logon domain) set source=\\192.168.1.100\data\exception.sites\ set destination=%userprofile%\appdata\locallow\sun\java\deployment\security\ xcopy %source% %destination% /y
quote arguments
set "source=\\192.168.1.100\data\exception.sites\" set "destination=%userprofile%\appdata\locallow\sun\java\deployment\security\" xcopy %source% %destination% /y
note quotes come before variable name.
batch-file server xcopy user-profile
No comments:
Post a Comment