开发者

issue copying *.ink to desktop?

开发者 https://www.devze.com 2023-02-07 21:16 出处:网络
i would like to craete a batch file that copys my icon to the desktop, which is proving dificult can anyone help?

i would like to craete a batch file that copys my icon to the desktop, which is proving dificult can anyone help?

the code i 开发者_JS百科have asumed to use is a simply xcopy but it dose not result as wished for

xcopy /s/y C:\ICT\AUTOCAD_2010\NEWINK C:\"Documents and Settings"\"%userprofile%"\desktop

thanks-


This should work

xcopy /s/y C:\ICT\AUTOCAD_2010\NEWINK "%userprofile%\desktop\"

In %userprofile% is the complete path, like "c:\users\Adam"
And the path "Documents and Settings" is only a synonym for "c:\Users"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号