10-26-2017 02:59 AM
SAS Enterprise Guide uses a so-called workspace server for running all the code it creates. This workspace server is configured per default to not allow external commands. It also might reside remotely and on a non-Windows operating system.
Please post the log of your failed step.
10-26-2017 06:56 AM
10-26-2017 09:20 AM
Instead of using the x statement, do this to call your external command:
filename oscmd pipe "your_vbs_call 2>&1"; data _null_; infile oscmd; input; put _infile_; run;
This will write all answers from the operating system to the SAS log.