CMD prompt error

Discussion related to AES Crypt, the file encryption software for Windows, Linux, Mac, and Java.
Post Reply
sonicj
Posts: 1
Joined: Sat Jan 04, 2020 5:05 am

CMD prompt error

Post by sonicj »

I have been using this program for awhile now. I created a batch file that would leverage aescrypt to encrypt and then I would back up that encrypted file to another location. Recently it stopped working. When the batch file runs now it returns
'aescrypt' is not recognized as an internal or external command,
operable program or batch file.
I uninstalled and reinstalled. The line in question is simply
aescrypt -e -p <password> <file.txt>
Any thoughts?
User avatar
paulej
Posts: 595
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: CMD prompt error

Post by paulej »

The installer doesn't modify the PATH variable on Windows, so the only way to make that work is to call the program using the full pathname (e.g., c:\Program Files\AES...).

Alternatively, you can add the path to your profile in Windows. Of course, if you change directories to the AES Crypt install directory, you can run it without PATH changes.
Post Reply