Ref: 11640108
Title: Overcoming 127-Character Limit on Redir Command Line
Date: 12/31/90

Copyright 3Com Corporation, 1991.  All rights reserved.

When invoking the DOS Enhanced redirector yourself (rather than
letting the NET.EXE program do it for you when you execute NET START
WORKSTATION), you can overcome the limitation of 127 characters in the
command line by putting the parameter list in a file, exactly as it would
appear on the command line.  Then invoke the redirector like this:

    Netwksta @filename

Normally, the NET.EXE program will parse the parameters in the
LANMAN.INI file and create a temporary file that it then passes to
NETWKSTA.EXE (the DOS Enhanced redirector).  After it has read in the
parameters in this file, the DOS Enhanced redirector will delete the
file.  If you are passing the command line parameters to the DOS
Enhanced redirector via a file, note that the redirector will READ AND
THEN DELETE the file.  So, always create a COPY of the parameter file to
pass it to the program, or the original will be deleted after being used.

Note:  The order and the letter case are not important, but make sure that
the last parameter value in the file is followed by a blank or an EOF char
(1AH).  Otherwise the program may abort.  For example, .../z:1024<CR><LF><EOF>
will make the program abort, but these lines will not:

    ..../z:1024<SPACE><EOF>
    ..../z:1024<SPACE><CR><LF><EOF>
    ..../z:1024<EOF>
