You may face a situation when the permitted command line length is exceeded because of multitude of parameters and/or files.To avoid this, you can use a so called list file.

List file is a regular text file with .FIL extension containing a list of files for protection. Each file name on the list must be written in a separate line. You can specify the full path and use "*" and "?" symbols if necessary. Example of a list file:

“MyProg.exe”

c:\new_project\*.exe

c:\project-buh\*.exe

c:\new_base\Module*.exe

You need to write the list file name at the command prompt after all protection options in order to use the whole list by the utility (i.e. instead of the list of files listed in the previous section). 

For the utility to distinguish a list file, use symbol "@" to mark the list file at the prompt:

NwKey32.exe /GS3S @MyFil.fil

NwKey32.exe /GC /IMPLICIT_LINKING_SUPPORT @c:\MyDir\MyFil.fil

In the first example filenames will be retrieved from the list file named MyFil.fil located in the current folder. In the second example the utility will use list file MyFil.fil located in C:\MyDir folder.

You can specify several list files at the command prompt. This is convenient for grouping files being protected by their types:

NwKey32.exe /GN3S /GS3S @Progs.fil @Others_Utils.fil

In the example above names of all executable files of an application to be protected were placed in Progs.fil, and filenames of other utilities included into the distribution kit were placed into Others_Utils.fil.

  • No labels