>I am running a DOS command from within a .prg. The line reads: RUN FILENAME.BAT. The batch file reads: COPY FILENAME \\PRINTERPATH. This does not seem to run from within my program anymore, however if I double click the batch file, it works. Is there a problem with running DOS commands from within a program when the client station is running Windows 2000 as an Operating System and the file server is too? This used to work when the client station had Windows 98.
You can run the batch file from VFP under Windows 2000.
Can you be more specific about what happend when you try to run your batch file?
Also check file#
9277 'Send raw files to print queues' that allows to send files to printer from VFP.
--sb--