Hi all
I have a button on my Form which On Click runs an Event Procedure which among other things has a "Call Shell" instruction to run PKpak.
PKpak is a DOS program and runs in a DOS window. PKpak then zips up several tables which have just been exported as dbase3 files.
(I am using PKpak so I can transfer the files to another computer which runs in DOS mode and can unzip the files using PKunpak for use with dbase3).
All works fine except that I have to manually close the DOS window when PKpak has finished. This is no big deal really but is not very elegant is it?
Is there an instruction I can add to automatically close the DOS window?
Thanks
Tony

I have a button on my Form which On Click runs an Event Procedure which among other things has a "Call Shell" instruction to run PKpak.
PKpak is a DOS program and runs in a DOS window. PKpak then zips up several tables which have just been exported as dbase3 files.
(I am using PKpak so I can transfer the files to another computer which runs in DOS mode and can unzip the files using PKunpak for use with dbase3).
All works fine except that I have to manually close the DOS window when PKpak has finished. This is no big deal really but is not very elegant is it?
Is there an instruction I can add to automatically close the DOS window?
Thanks
Tony
