Hi,
I using Xcopy to copy files into SH:
Shell is asking me thaht I want to OVERWRITE the file. Is any options to set default to "YES"?
Below code don't work
I using Xcopy to copy files into SH:
Code:
Dim CopyString1 As String
Dim CopyString2 As String
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "V:", "http://........."
CopyString1 = INC_FILE
CopyString2 = "V:\......."
Shell "xcopy" & Chr(34) & CopyString1 & Chr(34) & " " & Chr(34) & CopyString3 & Chr(34)
Below code don't work
Code:
Shell "xcopy /r"
Shell "xcopy /y"