Tag not monitored by Microsoft.
Copy folder
sky system
1
Reputation point
I want to copy a folder with all dbf in a folder which is created namely current date and i am trying this code please solve this problem. Bellow this code what to modify ?
SET DATE TO BRIT
LOCAL lcFolderName, loEx AS Exception
lcFolderName = "e:\backup\" + DTOS(DATE())
IF !DIRECTORY(lcFolderName)
TRY
MKDIR (lcFolderName)
! xcopy "d:\comtech\dat" "lcFolderName"
CATCH TO loEX
ENDTRY
ENDIF
Community Center | Not monitored
Community Center | Not monitored
Sign in to answer