copy command

Home Forums Scripting DOS Command Shell copy command

This topic contains 1 reply, has 2 voices, and was last updated by Avatar anna25 7 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Avatar

    trying to copy a file *shortcut file to everyone’s desktop in my organization. Would the following work? The problem is we have some win7 and some winxp machines

    copy /y “ S:shared filesABC” “%allusersprofile%desktop”

    using /y so it doesnt keep prompting for over write this file.


    Re: copy command

    I got it to work using

    copy /y “Sshared drive:ie short cut” “C:UsersAll Usersdesktop”

    we have some machines running xp and others running 7.

    is there a tag to make this command run after a previous command.. because this rely’s on the shared drive to be mapped.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.