The protection utility can protect several files in one session. The list of files for protection (encryption) must be defined at the command prompt after specifying all protection options with all files separated by spaces, for example:

NwKey32.exe /GN3S /PACK /V /Q MyProg1.exe MyProg2.exe MyProg3.exe

In this case the utility will protect files MyProg1.exe, MyProg2.exe и MyProg3.exe, exe located in the current folder, pack their sections and verify its integrity along the way. Also, the autoprotection utility messages will be turned off.

The list of files may contain full paths to the files as well as "*" and "?" symbols, for example:

NwKey32.exe /GS3S C:\MyDir\*.exe

NwKey32.exe /GN3S MyExec.exe

«C:\My Distrib\*.exe» C:\Delphi_Projects\*.exe

In the first case the utility will protect and .EXE files in the current folder, in the second example it will protect file MyExec.exe and all other executive files located in folders C:\My Distrib и C:\delphi_projects. Note that you must specify the extensions of files in the list (except files without extensions) or in the mask defined using "*" and "?" symbols. 

 

 

 

 

 

  • No labels