Filecopy sets errorlevel when copying tro a NAS
Posted: 30 Mar 2020, 08:23
Wrote script for managing my Backups to a NAS, but copying to a NAS with FileCopy doesn´t work and sets ErrorLevel to "1". I extracted the relevant code to
Q: is the NAS. Copying the same file to another location works fine, copying to the NAS from command window works also.
thx in advance!
peter
Code: Select all
Ziel2:="Q:\Sicherung"
Name:="Daten"
Ziel:="D:\Sicherung\Daten"
FileCopy, %Ziel%\Full_%Name%_TMP.sna, %Ziel2%\Full_%Name%_%A_YYYY%%A_MM%%A_DD%%A_Hour%%A_Min%.sna
ListVars
Pause
thx in advance!
peter