Close MSDOS Window.

crhodus

Registered User.
Local time
Today, 03:19
Joined
Mar 16, 2001
Messages
257
Is ther a way to close a MSDos window using a macro or vba code in Access?

I have a macro that uses pkzip to zip a file and I would like to be able to close the MSDos window when it is finished ziping up a database.

Thanks!
 
Found a way to have window close automatically. I went to the properites of the msdos window and selected "Close on Exit". This seems to have done the trick.
 
Dang it. I was going to post that if no one else chimed in. I held off because there might be a code way to do it.

The closest I could find to a code way was this one: Run Dos Batch files from Access but I didn't know if you were using a batch file and I couldn't get it to work with cmd.exe, yet anyway!
 

Users who are viewing this thread

Back
Top Bottom