Thanks for the tip. I'm not familiar with
vb script but so far have come up with the following:
OPTION EXPLICIT
CONST SOURCE_PATH = "T:\Current Program\"
CONST DEST_PATH = "C:\TestScript\"
CONST FILE_EXT = ".adp"
Dim fso : Set fso = CreateObject("Scripting.FileSystemObject")
If Not fso.FolderExists(DEST_PATH) Then
fso.CreateFolder DEST_PATH
End If
fso.CopyFile SOURCE_PATH & âTestâ & FILE_EXT, _
DEST_PATH & âTestâ & FILE_EXT, True
How do I invoke the
VB Script file from within the Access Data Project?
I assume I would have to close the 'adp', run the Script, reopen the 'adp'.