There are numerous switches in xcopy, including one to suppress the
overwrite prompt. Type xcopy /? at the Command Prompt to see them all.
"Fred Bloggs" <> said this in news item
news:...
> Hi Pegasus, thats working now, many thanks.
>
> one question though, is there a switch to use in the command to
> automatically overwrite the file being copied?
> I'm intending to include the line in my login script, but don't want the
> users to see a dos prompt each day saying "do you want to overwrite" etc.
>
> Many thanks.
>
> "Fred Bloggs" <> wrote in message
> news:#...
>> I meant to say that users have redirected folders
>>
>> "Fred Bloggs" <> wrote in message
>> news:...
>>> Hi,
>>> I'm trying to get a desktop shortcut pushed out to all users on the
>>> network here, and I've stumbled across this line to add to the login
>>> script to do so.
>>>
>>> xcopy \\myDC\NETLOGON\DESKTOP ICONS C:\Documents and Settings\All
>>> Users\Desktop /d /y
>>>
>>> my issue is that we have setup the offline sync of mydocs etc and this
>>> path does not exist on every ones pc.
>>>
>>> The path it need to go to is going to be C:\users\user.name\desktop
>>>
>>> What chane needs to be made to the code to automatically add the
>>> shortcut to anyone's desktop who logs into the pc.
>>>
>>> Many thanks
>>>
>>>
>>>
|