Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling or shelling to DOS command or...

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I need to open a text file which is a SATO printer command file to make it print a label.

I can make it work using this in a DOS command prompt.

copy partbag.txt LPT2:

How can I either open a DOS command and send it or something similar.
PS the DOS window needs to close after too.

TIA [sig]<p>DougP, MCP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.[/sig]
 
Doug, this question has been answered a number of times here. Do a search for &quot;Waitforsingleobject&quot;
[sig]<p>nick bulka<br><a href=mailto: > </a><br><a href= </a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top