I am trying to call a batch file from within my clipper app to execute the printing of a crystal report. The batch file is called "Report.bat" and it contains one line as follows
"cviewbatch11.exe @mycommands.txt"
The text file just passes some printing parameters to the exe file. The process works fine when I type "Report" at the DOS command shell prompt. But when I call it from within my clipper app as "Run Report" it calls the cviewbatch11.exe @mycommands.txt and then issues a "BAD COMMAND OR FILENAME".
I already use this calling of batch files to run NET USE functions and they work fine, I do not understand why the Bad Command is being issued.
Any guidance will be greatly appreciated!
"cviewbatch11.exe @mycommands.txt"
The text file just passes some printing parameters to the exe file. The process works fine when I type "Report" at the DOS command shell prompt. But when I call it from within my clipper app as "Run Report" it calls the cviewbatch11.exe @mycommands.txt and then issues a "BAD COMMAND OR FILENAME".
I already use this calling of batch files to run NET USE functions and they work fine, I do not understand why the Bad Command is being issued.
Any guidance will be greatly appreciated!