hello,
thanks for the assistance.
Yes, the .vbs does execute fine if you run it from File Explorer.
I got the
VB script execution code to work with some help from another person on another message board. Below's the functioning code:
[code]
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpszOp As String, _
ByVal lpszFile As String, ByVal lpszParams As String, _
ByVal LpszDir As String, ByVal FsShowCmd As Long) _
As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub RunScriptFile()
Const SW_SHOWNORMAL = 1
ShellExecute 0&, "Open", "D:\B D client data\PRTC\PRTCFTPtoDAKCS&DeleteACK.vbs", "", "D:\B D client data\PRTC\", SW_SHOWNORMAL
End Sub
[\code]