What Windows version are you running under? If it's Win2K or later, try to change batch file extension to .CMD or run explicitly under NT command processor
cmd.exe /C printtext.bat
>I recently wrote a tiny VFP app that does nothing other than send a text file to the windows default printer. Seemed simple enough - I wrote something that appeared to work....but
>When I run it from a DOS command it works fine.
>When I put it the DOS command in a .bat file it works fine.
>When a 16bit (DOS) C++ program calls the .bat file - I don't get an error but it doesn't print the file either. I'm totaly lost on this - it should be such a simple thing. Does anyone have any ideas? I'm open to pretty much anything as time has become a major issue right now.
--sb--