trudye10
Programmer
- Sep 8, 2006
- 67
The last time I logged into this Forum I had a DOS/Batch command Filename Date problem. This time my DOS/Batch command problem is with the PGP command. The msg I am recieving is: PGP is not recognized as an internal or external command.
Here is my code:
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
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