Jump to content

Recommended Posts

Posted

I am trying - unsuccessfully - to copy something over to all users desktop.

Why doesn't this work?

echo Desktop Stuff
copy %systemdrive%\install\desktop\*.* %ALLUSERSPROFILE%\Desktop\
echo.


Posted
Wrap the string with enviroment variable is quotes.
echo Desktop Stuff
copy "%systemdrive%\install\desktop\*.*" "%ALLUSERSPROFILE%\Desktop\"
echo.

oh yeah, I should have thought of that! thank you!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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