R
RScotti
Hi,
This is a portion of my bat file. The ones with the > are the questioned ones.
xcopy /s /y /d /h /c "C:\users\rls\Agent" "M:\Agent\"
When I run this I get and error message in the CMD prompt.
For some reason my M:\ flash drive is trying to create a cookies folder and get the error Incorrect function.
The cookies folder is not in the same folder as the calendar and don't understand the Incorrect function.
There is only one file being created on these disks so I don't know why it is coping two files as it says?
This file IS in BOTH locations. I only put it in the RLS folder so I guess the program did the other one.
What do I have to change to stop this in my Bat file?
Have a good day,
RScotti
remove "nospam" in order to email me.
This is a portion of my bat file. The ones with the > are the questioned ones.
xcopy /s /y /d /h /c "C:\users\rls\Agent" "M:\Agent\"
xcopy /s /y /d /h /c "C:\Users\rls\Documents" "G:\Documents\"xcopy /s /y /d /h /c "C:\users\rls\rls's Calendar.ics" "D:\*.*" My D:\ partition
xcopy /s /y /d /h /c "C:\users\rls\rls's Calendar.ics" "G:\*.*" My external HD
xcopy /s /y /d /h /c "C:\users\rls\rls's Calendar.ics" "M:\*.*" My 8 GB Flash drive
When I run this I get and error message in the CMD prompt.
0 File(s) copied
C:\users\rls\RLS's Calendar.ics
C:\users\rls\AppData\Local\Microsoft\Windows Calendar\Calendars\RLS's Calendar.ics
2 File(s) copied
C:\users\rls\RLS's Calendar.ics
C:\users\rls\AppData\Local\Microsoft\Windows Calendar\Calendars\RLS's Calendar.ics
2 File(s) copied
C:\users\rls\RLS's Calendar.ics
C:\users\rls\AppData\Local\Microsoft\Windows Calendar\Calendars\RLS's Calendar.ics
File creation error - Incorrect function.
Unable to create directory - M:\Cookies
2 File(s) copied
For some reason my M:\ flash drive is trying to create a cookies folder and get the error Incorrect function.
The cookies folder is not in the same folder as the calendar and don't understand the Incorrect function.
There is only one file being created on these disks so I don't know why it is coping two files as it says?
This file IS in BOTH locations. I only put it in the RLS folder so I guess the program did the other one.
What do I have to change to stop this in my Bat file?
Have a good day,
RScotti
remove "nospam" in order to email me.