Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

How to use EncryptFile

rahzan
New Contributor I
382 Views
The code below

use dfwin
integer(1) RES
character (50) name
name=trim('cryptox.txt')//char(0)
res= EncryptFile(name)
END

Does not seems to do a dang thing eventhough RES changes from 0 to 1.

What am I missing?

Tx, Tim
0 Kudos
1 Reply
Steven_L_Intel1
Employee
382 Views
Is the file on an NTFS disk with the Encrypted File System enabled? If not, it will do nothing.

Perhaps you want this instead?

Steve
0 Kudos
Reply