Video Screencast Help

PGP Desktop (NetShare)

Created: 28 Mar 2013 • Updated: 29 Apr 2013 | 1 comment
This issue has been solved. See solution.

My company is using PGP Desktop on a Windows 2008 box.
We have set up Netshare to encrypt a folder, and the goal is to take files and dump into this folder and encrypt via script.

I am using VBScript....

The comman line in the VBScript to do this operation looks like this::
C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpnetshare.exe --encrypt f:\test\ccie_ip_address_practice.xlsx --recipient xxxxxxx  --signer xxxxx --passprhase xxxxxx --output F:\Secure_Share\CCIE_IP_Address_Practice.xlsx

But it will not work.
If I take that command and open a CMD window and run directly from there, then PGPNetshare.exe balks and says it doesn't understand the --output switch....says it is invalid.
But the 10.2 documentation shows it as a valid arguement.

So how can I do this via script.

The end plan is to get the script working and then install him as a Service to run automatically anytime a file comes into the source folder (f:\Test\) and move it to the destination folder (f:\secure_share\)

Thanks for anyhelp.

Operating Systems:

Comments 1 CommentJump to latest comment

Seth Dunn's picture

I was able to get it figured out.
I needed to --unlock the folder first, then I could copy files to the folder and encrypt.