Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

batch file to mount a PGPdisk and execute a file on it

Status
Not open for further replies.

navajax

Technical User
Apr 19, 2003
1
HU
I use Foxmail on a PGPdisk for home use. Something I've been trying to figure out is how to make a batch file that I can link a shortcut to on the start menu that when executed will:

1. Mount the PGP disk.
2. Execute Foxmail.
3. Wait for Foxmail to be closed.
4. Once Foxmail has been closed, unmount the PGPdisk.

Anyone out there have any idea how to do this?
I've been racking my brain for ages trying to figure it out.
Cheers!
navaja
 
How do you normally mount the pgp disk? Is there a program that is run that does it? Look at the properties of it and use that command line.

As far as waiting until the app is finished, microsoft doesn't operate this way with gui apps. You'd be better off creating a 2nd icon that unmounts the pgpdisk (again, if this is even possible to do it on the commandline).

--
Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top