Thanks Michael for good idea.
This is the modify that I have done:
SHELL"CMD /C START programname.EXE"
END
now all is OK.
------------------
[email protected]
From Italy.
Announcement
Collapse
No announcement yet.
close PbDos program after Run PbCC or PbWin program
Collapse
X
-
You could try...
Code:SHELL "start programname [params]" SYSTEM
If that does not work, you could try RUN or EXECUTE of a batch file followed by SYSTEM. You might need to end that batch file with 'EXIT'
The thing is, the ms-dos program is already running a copy of the command processor, so you might have to start the ms-dos program with "CMD /K ms-dos-programname.exe" to get the command processor used for the dos program to end.
Some things to try, anyway.
MCM
Leave a comment:
-
close PbDos program after Run PbCC or PbWin program
When I run a PbWin program from a PbDos program:
- if I use EXECUTE the PbDos program remains visible and it is closed when then PbWin program is closed;
- if I use RUN then PbWin program do not start.
Can I to resolve this problem?
I should want that, when my PbDos program calla a PbWin or a PbCC program, the PbDos program is closed.
------------------
[email protected]
From Italy.
[This message has been edited by Giuseppe Belziti (edited August 24, 2007).]Tags: None
Leave a comment: