• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

Closeing a dos window

Hello,
I'm writing an installation application that uses auto-extract arj files.
I'm extracting the arj file by using 'CreateProcessA' function. A Dos window is opened, the file is exctacted
and at the end of the process the Dos window does not closed.
Any idea how can I close the window ?

Many thanks
0
sas11
Asked:
sas11
1 Solution
 
PoddyCommented:
If you call your dos program prefixed with
COMMAND.COM /C

then your window will close
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now