home *** CD-ROM | disk | FTP | other *** search
- SUBJECT : LOGIN Changes From v1.73b to v2.10
- DATE : 05/25/90
- FYI # : 052890rr
- OS VERSION : 2.15 and 3.0
- REVISION : C and A respectively
- SHELL VERSION :
-
- GENERAL
- INFORMATION : Syntax changes have occured between LOGIN.EXE v1.73b and the
- latest - v2.10.
-
- PROBLEM : Formerly questionable syntax and procedures behave
- differently with this new version of LOGIN. I have
- noticed the following so far:
-
- SET COMSPEC - works if you follow the book exactly, but before you
- could say SET COMSPEC=S2:COMMAND.COM or SET COMSPEC
- s2:COMMAND.COM and a few other variations without an error.
-
- ATTACH - two changes have been noticed
-
- 1. ATTACH <servername>/ was formerly acceptable
- syntax for attaching as the same username with
- the same password. LOGIN v2.10 rejects this line
- as a syntax error.
-
- 2. ATTACHing to a server you are already attached to
- used to result in a message similar to:
- "Already attached to server <servername>"
- In the current LOGIN it appears to attempt to
- reattach, causing the currently mapped drives to
- that server to be lost, or remapped to root.
-
- SOLUTION : Tighten up the syntax in the scripts (not a pretty
- picture if your user has lots of user scripts; the
- Norton TS utility is handy for finding where work
- is needed). To work around the repeated ATTACH problem,
- you can use a login script fragment like this (assume
- my server is called FS1, and the server to attach to
- is FS2):
-
- rem ** this is at the begining of the script **
- DOS SET FS2="N"
-
- rem ** you can replace every occurance of ATTACH FS2
- rem ** with the following code:
- rem
- rem ** NOTE: this uses two features that are new to
- rem ** LOGIN v2.10 - the ability to test against
- rem ** DOS environment variables, as well as
- rem ** nested IF-THEN's. It won't work with any
- rem ** earlier versions.
- If <FS2>="N" then BEGIN
- Attach FS2
- If "%ERROR_LEVEL" = "0" then DOS SET FS2="Y"
- END
-
- COMMENTS: These sort of things are what give NetWare 386 the
- reputation of not being totally compatible with
- NetWare 286. Hopefully, the fact that this version
- of LOGIN is included with the popular new shells for
- DOS will help put the issue in the correct court.
-
- YOUR NAME AND DEPT. : Rob Rawson - National Account SE, Paramus
-
- (Check one)
-
- ( ) This information has been verified.
-
- (XX) This is useful information, but has not been verified.
-