on 10-05-2011 12:45 PM
Hello Experts,
Could you please advise me on below:
I've a batch file that executes successfully from machine(manually).
Now i want to run that batch file through BODS.
I've written the code like
exec('C:\test.bat',' ',0).
It's throwing an error that '5812 4100 RUN-050306 05/10/2011 12:36:50 Function <exec> failed to execute program <C:\SAM\bat_script\callwinscp.bat>. Program terminated with exit code <1>.
Thanks
Mohan
Hi Mohan,
You could try calling with the option 8 i.e. exec('C:\test.bat',' ',8) which might give you a better error message.
Regards
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.