home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / novell / 11748 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.6 KB

  1. Path: sparky!uunet!sequent!gaia.ucs.orst.edu!ccmail.orst.edu!holbor
  2. From: holbor@ccmail.orst.edu (Richard Holbo)
  3. Newsgroups: comp.sys.novell
  4. Subject: Re: Toward a more persistent login.exe
  5. Date: 21 Jan 1993 18:13:04 GMT
  6. Organization: Oregon State University Libraries
  7. Lines: 37
  8. Message-ID: <holbor.45.0@ccmail.orst.edu>
  9. References: <mr.727477099@ogre> <1jiv06INN1tj@flop.ENGR.ORST.EDU> <holbor.44.0@ccmail.orst.edu> <1993Jan21.104119.14766@infodev.cam.ac.uk>
  10. NNTP-Posting-Host: standdx05.kerr.orst.edu
  11.  
  12. In article <1993Jan21.104119.14766@infodev.cam.ac.uk> ag129@cus.cam.ac.uk (Alasdair Grant) writes:
  13. >From: ag129@cus.cam.ac.uk (Alasdair Grant)
  14. >Subject: Re: Toward a more persistent login.exe
  15. >Date: Thu, 21 Jan 1993 10:41:19 GMT
  16. >In article <holbor.44.0@ccmail.orst.edu> holbor@ccmail.orst.edu (Richard Holbo) writes:
  17. >>This does not neccarily (sp) work, with older versions of Login.exe there
  18. >>are no errorlevel's set at all.  What I ended up doing was to check for the
  19. >>Existence of Sys:public\map.exe.  This will exist for Most everyone unless
  20. >
  21. >Yes.  We, for example, are on a back-level version of LOGIN deliberately
  22. >be able to use zero-length user login scripts.  (Newer versions of LOGIN
  23. >treat them as missing login scripts, and do the default.)
  24. >
  25. >I tried John Villalovos's suggestion, but still get "Batch file missing".
  26. >He suggested that this is because my login script was mapping F: to a
  27. >directory on a different volume, which is indeed the case.  But how can
  28. >this make a difference to DOS's batch file processor?
  29.  
  30.     What you can do here is to put SYS:\LOGIN in your path.  And then 
  31. make the pc Search the path to find your batch file.  I.E. do not run F:
  32. LOGBAT, run C:LOGBAT and the pc will find the LOGBAT.BAT in the SYS:\LOGIN 
  33. search drive, and then not complain about whatever the mapping was for that 
  34. drive, because it WILL ALWAYS be SYS:\LOGIN unless you change servers during 
  35. login.  The reason it complains is because it cannot find the batch file 
  36. after it logs in.  If you remap F:\LOGIN with a MAP ROOT *1:=USERS:SONSO and 
  37. the batch file started from F:\LOGIN, then F:\LOGIN no longer exists after 
  38. login.  As I mentioned in my previous post, I use this ability of Dos to use 
  39. volume names in search drives a LOT with machines that use Boot ROMS.
  40.  
  41.  
  42.                  =========================================
  43.                  Richard Holbo              (503) 737-0952
  44.                  Systems Analyst
  45.                  Oregon State University Libraries
  46.                           holbor@ccmail.orst.edu
  47.                  =========================================
  48.                 You're looking at the Library of the Future
  49.