Re: script file work with bat file, but hangs when started with vba shell
Your command is wrong. Try in on command-line. It won't work either.
You are missing a
You are missing a
/C
switch after the cmd.exe
:
retval = Shell("cmd.exe /C C:\Users\George\Dropbox\SNETWORK\WINSCP\datascope_get.bat", 1)