rdrunner40
MIS
Hello
I have a interesting issue here .... but i guess o the clever people its relatively easy but here goes.
What i am doing is looping thru a program and then shelling out to a cmd.exe window and then running the LPR command from within a batchfile to send files across our network to the laser.
Ok you might think not a problem there if i only do it once but i am wanting to do this rather a lot in a very short period of time. (about 500 times) as these files are batched AND THIS is the only to print to this laser.
My problem is that the cmd.exe window does not close or if it does it is still listed in the task window under processes - earlier today i had 114 cmd.exe windows showing as listed in the processes but in the taskbar i had none showing
What i am wanting to do is call the LPR command from within the batchfile then send the file to be printed to the laser using LPR and then exit the cmd.exe window and release the process
All the fastest possible times .... the print files are only 1mb each
any ideas ?
i have tried allsort of things
so do reply as i am stumped
regards
And thanks in advance
Murray W
I have a interesting issue here .... but i guess o the clever people its relatively easy but here goes.
What i am doing is looping thru a program and then shelling out to a cmd.exe window and then running the LPR command from within a batchfile to send files across our network to the laser.
Ok you might think not a problem there if i only do it once but i am wanting to do this rather a lot in a very short period of time. (about 500 times) as these files are batched AND THIS is the only to print to this laser.
My problem is that the cmd.exe window does not close or if it does it is still listed in the task window under processes - earlier today i had 114 cmd.exe windows showing as listed in the processes but in the taskbar i had none showing
What i am wanting to do is call the LPR command from within the batchfile then send the file to be printed to the laser using LPR and then exit the cmd.exe window and release the process
All the fastest possible times .... the print files are only 1mb each
any ideas ?
i have tried allsort of things
so do reply as i am stumped
regards
And thanks in advance
Murray W