Article View: comp.os.netware.connectivity
Article #228Re: Help: Communication between login script and external DOS commands
From: Jerry Cork
Date: Wed, 03 Jan 1996 00:00
Date: Wed, 03 Jan 1996 00:00
39 lines
2017 bytes
2017 bytes
s28454@nntpserver.sp.ac.sg (Dr Hu Yufan) wrote: >Is there any way to pass some information from a external DOS command and >let the login script do different things base on this information? >In UNIX, we have the exit code to be examined by shell's "if" command. >In DOS batch file, a primitive "if errlevel". >How to do the similar thing in Netware login script? Or is there any >better ways to pass some info from a DOS command executed in login script >to the login script? >Thank you very much for your advisory. >-- >Dr Hu Yufan >======================================================================== >e-mail: huyf@sp.ac.sg Computer Centre, >Phone: (65) 7721364 Singapore Polytechnic >FAX: (65) 7721980 500 Dover Road >WWW: http://www.sp.ac.sg/ Singapore 0513 >======================================================================== I have never found "good" solution (although I'm sure you could write something in C). I create DOS Environment Variables based upon Novell variables, and then let DOS use the DOS variables, such as: How much RAM at workstation? Is local printer attached? All users share a login script and EXIT to a common .BAT file; all told quite a few lines of code, but it pays off in remote manageability. ******************** * Jerry Cork * * jcork@moscow.com * ********************
Technical Details
Message-ID:
<4ce8es$1kf@whale.moscow.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4ccsvb$q91@scctn01.sp.ac.sg>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe659,e6ebf889fbac8370 X-Google-Attributes: gidfe659,public X-Google-Thread: fa939,e6ebf889fbac8370 X-Google-Attributes: gidfa939,public X-Google-Thread: f8bf7,e6ebf889fbac8370 X-Google-Attributes: gidf8bf7,public From: jcork@moscow.com (Jerry Cork) Subject: Re: Help: Communication between login script and external DOS commands Date: 1996/01/03 Message-ID: <4ce8es$1kf@whale.moscow.com> X-Deja-AN: 133830711 references: <4ccsvb$q91@scctn01.sp.ac.sg> organization: PalouseNet newsgroups: comp.os.netware.connectivity,comp.os.netware.misc,bit.listserv.novell