home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / novell / 11831 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.3 KB  |  74 lines

  1. Newsgroups: comp.sys.novell
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!abqhh!drdhh!wedel.hanse.de!jan
  3. From: jan@wedel.hanse.de (Jan Hinnerk Haul)
  4. Subject: PC hangs when LOGIN called from batvh with CALLs in it (DOS5)
  5. Message-ID: <MXT0FWK@wedel.hanse.de>
  6. Organization: None - the genius overlooks the chaos
  7. Date: Sat, 16 Jan 1993 09:57:07 GMT
  8. Lines: 64
  9.  
  10. I have a very strange problem:
  11.  
  12. Wanting to lower my workload (as ever ;-) I want to have a
  13. single, standardized AUTOEXEC.BAT.
  14. Since the (about 50) PCs I administer are not totally the
  15. same, I tried to write it according to the following sketch:
  16.  
  17. ECHO this and that
  18. CALL Hook1.BAT
  19. IPX
  20. NETX
  21. CALL Hook2.BAT
  22. LOGIN
  23. CALL Hook3.BAT
  24. GOTO END
  25. ... some error message code, triggered by ERRORLEVEL
  26. ore files not available...
  27. :END
  28.  
  29. However, when returning from LOGIN.EXE, the PC does not continue
  30. to work on my AUTOEXEC.BAT but simply hangs.
  31.  
  32. It does not matter if I put the error-handling stuff first and
  33. jump over it, so the last few lines would look like
  34.  
  35. LOGIN
  36. IF ERRORLEVEL 1 GOTO BAD_LOGIN
  37. Hook3.BAT
  38. rem ... no CALL needed now
  39.  
  40. The Netware is V 2.15 on a 386/20 machine (8 MB, ca. 1 GB ESDI and
  41. SCSI disks)
  42. The DOS is 3.3 and 5.0 from Microsoft (not OEMed version for
  43. testing)
  44. The IPX and NETX are fairly new versions, made with the IPX.OBJ
  45. from Windows 3.1 and NETX 3.26
  46. The LOGIN.EXE, however, is whatever version came with Netware 2.15
  47. Rev. D.
  48. System login script stripped down to one WRITE statement to no avail.
  49.  
  50. Is this a known bug?
  51. Cannot it work for a certain reason?
  52. Am I only stupid?
  53.  
  54. Any help would be greatly appreciated.
  55.  
  56. I quite need this CALL feature... the other opporunities are quite
  57. nasty:
  58. - doing an on-the-fly edit to merge standard AUTOEXEC with local
  59.   extensions
  60. - forget about standardizing (meaning having to run around the
  61.   building to fix things maually instead of telling person "OK,
  62.   I changed your local extension. Please reboot and log into LAN
  63.   TWICE, then it will take effect autimagically" (the first run
  64.   copies the changed version from LAN to local drive, the second
  65.   executes it))
  66. - Test for any and all things in a single file, making the latter
  67.   quite complicated
  68.  
  69. aTdHvAaNnKcSe
  70.  
  71. -- 
  72. Jan H. Haul        Tel. +49 40 - 890 57 57        Disc.: Not even *my*
  73. Hamburg, Germany    Fax  +49 40 - 890 51 57        opinion
  74.