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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PGP DOS Batch Invalid command

Status
Not open for further replies.

trudye10

Programmer
Sep 8, 2006
67
Hi Everyone;
I am not sure if this is the correct forum. I happened on your forum while searching FAQ's.

I am having issues with my PGP DOS/Batch command. The msg I am receiving is: PGP is not recognized as an internal or external command.
Here is my code:

Code:
REM					Import File
"C:\Program Files\Ipswitch\ftpscrpt" -f S:\ops\scripts\Unscmble_Kav.scp
timeout 15

set GE_POS_SALE=%1
set MM=%date:~4,2%
set DD=%date:~7,2%
set YYYY=%date:~10,4%
set TIMESTAMP=%MM%%DD%%YYYY%
for /f "delims=." %%a in ("%Geposdel.TXT%") do set NEWNAME=%%a.%TIMESTAMP%.%%b

REN S:\ops\data\GE_POS_SALE%TIMESTAMP% GE_POS_SALE.txt

REM					UnEncryption Key
pgp -o U:\ops\data\GE_POS_SALE.txt GE_POS_SALE2.TXT -z johns

I know that DOS is trying to tell me the syntax is incorrect but I'm not sure what exactly is wrong. Any assistance would be appreciated.

Thanx,
Trudye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top