I've run into similar issues with batch files using robocopy.  They work
when you runas administrator, so there is a permissions issue.  The failure
I get is on changing ownership/permissions on the destination files, you
are likely running into the same problem.
Does your normal script work if right-click -> Run As Administrator is
selected?

On Sun, Nov 29, 2015 at 5:50 PM, Jamie Furtner <[email protected]> wrote:

> Your command isn't correctly formatted right now - the file specification
> should be inside the quotes. One thing that I noticed is that on my Win10
> system (fresh install) the public user's documents folder is just called
> Documents, so the command should be more like:
> > xcopy "C:\users\public\documents\intuit" "L:\users\public\public
> documents\intuit\" /y /d /r
> if you wanted to keep the same structure as you show below.
>
> If you view properties (right-click, properties) on the Intuit folder from
> inside shared documents and look at the Location path, what do you see? Use
> that path as a base (it should be something like
> "C:\Users\Public\Documents") and add "\Intuit" to it for the source path.
>
> Jamie
>
>
> On 2015-11-29 10:48 AM, FORC5 wrote:
>
>> changed to
>> xcopy "C:\users\public\public documents\intuit\"*.*
>> "L:\users\public\public documents\intuit\" /y /d /r
>> now I get a file not found, even if I name the files by name.
>>
>> thinking win 10 is doing something funny.
>> appreciate the help.
>> whole thing makes no sense
>> did not complain about the CD cmd on either
>> fp
>>
>> At 10:21 AM 11/29/2015, A L Poked the stick with:
>>
>> > From: [email protected]
>>>
>>> > xcopy C:\users\public\documents\intuit\*.*
>>> > L:\users\public\documents\intuit\ /y /d /r
>>>
>>> I would test which path it objects to. C:\... or L:\... or both; by
>>> using the path from a CLI.
>>> Example: go to another drive, say E:\ and doing a change dir;
>>> E: cd C:\users\public\documents\intuit\  and
>>> E: cd L:\users\public\documents\intuit\
>>>
>>> See if you get errors.  HTH
>>>
>>> Al E. Gator
>>>
>>>
>> Date:  Sunday, November 29th, 2015
>>
>>        ***Caution, Tagline Below ***
>>                 **Tallyho**
>> ******************************************
>>    What if they gave a war and only one
>>                 side came?
>> ******************************************
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
> --
> Jamie Furtner [email protected]
> "I aim to misbehave"
> - Malcom Reynolds (Serenity movie)
> "It's not safe...
> "For them."
> - River Tam (Serenity movie)
>
>

Reply via email to