The code below was written for us to copy files from a local computer to our Citrix server. On our previous Citrix server the strSource was v:\photos. The "V" was the mapped drive to "C" on the local computer. The new Citrix Xenapp doesn't map the drives in the same manner. When viewing the "C" drive from Citrix the path is Local disk (C: on spcala30)
How would I map that in the code? I tried c:\photo, didn't work.
Dim strSource, strDest, strFolderName, strFolderPath
strSource = "v:photos"
strDest = "\\fileserver\community files\Public Files\Pet-Ark"
strFolderName = Right("0" & Day(Date), 2) & _
MonthName(Month((Date))) & Year(Date) & "-SB"
strFolderPath = strSource & "\" & strFolderName
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFolder strFolderPath, strDest & "\" & strFolderName, True
WScript.Echo strFolderPath & " copied to " & strDest & "\" & strFolderName