Quantcast
Channel: Symantec Connect - Products - Discussions
Viewing all articles
Browse latest Browse all 21603

PGP Command Line and --output switch along with vbscript

$
0
0
I need a solution

Hello,
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.

 

I had posted this in the other forum before I saw the forum that dealt with command line.  Sorry.

 


Viewing all articles
Browse latest Browse all 21603

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>