I have a vb script that can be executed (from cmd or double clicking the file) on the bods server with no problem. I want BODS to execute the same vb script. So I have tried this 3 different ways of executing.
exec('cscript', '\\\uksvpmc003\\keyrus\\data\\cer_vbs\\test1.vbs',0);
exec('cmd', '\\\uksvpmc003\\keyrus\\data\\cer_vbs\\test1.vbs',0);
exec('cmd', 'cscript \\\uksvpmc003\\keyrus\\data\\cer_vbs\\test1.vbs',0);
I have also tried the above but using the local drive of the server rahter than fully qualufying it ie.e
exec('cscript', ' G:\\Keyrus\\DATA\\CER_VBS\\test1.vbs',0);
exec('cmd', ' G:\\Keyrus\\DATA\\CER_VBS\\test1.vbs',0);
exec('cmd', ' G:\\Keyrus\\DATA\\CER_VBS\\test1.vbs',0);
None of these execute the vb script I get no error messages though. I read this post (hence some of my attempts above) and can't see I have missed anything:
http://scn.sap.com/thread/3193998
Help appreciated.