I haven't done VBS in a long long time, but thought this would be pretty easy and straight forward. I have a batch file that executes a ftp command and it runs fine, however, when I try to run it within a VBS, I get "permission denied". Here is my VBS code
set oShell = CreateObject("WScript.Shell")
oShell.Run "c:\ftp.bat"
set oShell = CreateObject("WScript.Shell")
oShell.Run "c:\ftp.bat"