Create a PGP zip file automatically with VBScript?

Posted on 2009-12-22
Last Modified: 2012-05-08
Does anybody by chance know how to create a PGP zip file automatically using VBscript?
I am not able to find it anywhere on the net.  

Question by:tdmgtech
    LVL 18

    Accepted Solution

    Set objShell = WScript.CreateObject("WScript.Shell")
    Set objExecObject = objShell.Exec("cmd /c <your pgp command>")
    LVL 2

    Author Closing Comment

    LVL 17

    Expert Comment

    Here you go for encrypt and decrypt:

    If you don't need SDA and you just want to encrypt file, change --sda to --encrypt

    Then using VbScript Shell command execute that command. That's all

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    When the confidentiality and security of your data is a must, trust the highly encrypted cloud fax portfolio used by 12 million businesses worldwide, including nearly half of the Fortune 500.
    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now