Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Relational Databases
Expertise: Beginner
Mar 28, 1997

Calling a DOS Command

Question:
How can you call a DOS command under Delphi 2.0? For example, I want to do a "TYPE >prn" from Delphi.

Answer:
You can do it with CreateProcess. Refer to my article in Ask the Delphi Pro regarding this function. Do a page search using the keyword CreateProcess, and you'll find it.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date