문제

Hi I would like to copy all the files from a folder on my local machine to a network drive. I tried using CopyFiles "....\Source*." "\abc\Destination" But its not working..... I also tried File /r "....\Source*." "\abc\Destination". Please let me know where am i going wrong. Also please let me know how to copy the folder on the ftp site

도움이 되었습니까?

해결책

Copyfiles uses SHFileOperation internally and should work as long as you follow that api's restrictions, especially the part about full paths: "It cannot be overstated that your paths should always be full paths" and "Standard MS-DOS wildcard characters, such as "*", are permitted only in the file-name position. Using a wildcard character elsewhere in the string will lead to unpredictable results"

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top