home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!abqhh!drdhh!wedel.hanse.de!jan
- From: jan@wedel.hanse.de (Jan Hinnerk Haul)
- Subject: PC hangs when LOGIN called from batvh with CALLs in it (DOS5)
- Message-ID: <MXT0FWK@wedel.hanse.de>
- Organization: None - the genius overlooks the chaos
- Date: Sat, 16 Jan 1993 09:57:07 GMT
- Lines: 64
-
- I have a very strange problem:
-
- Wanting to lower my workload (as ever ;-) I want to have a
- single, standardized AUTOEXEC.BAT.
- Since the (about 50) PCs I administer are not totally the
- same, I tried to write it according to the following sketch:
-
- ECHO this and that
- CALL Hook1.BAT
- IPX
- NETX
- CALL Hook2.BAT
- LOGIN
- CALL Hook3.BAT
- GOTO END
- ... some error message code, triggered by ERRORLEVEL
- ore files not available...
- :END
-
- However, when returning from LOGIN.EXE, the PC does not continue
- to work on my AUTOEXEC.BAT but simply hangs.
-
- It does not matter if I put the error-handling stuff first and
- jump over it, so the last few lines would look like
-
- LOGIN
- IF ERRORLEVEL 1 GOTO BAD_LOGIN
- Hook3.BAT
- rem ... no CALL needed now
-
- The Netware is V 2.15 on a 386/20 machine (8 MB, ca. 1 GB ESDI and
- SCSI disks)
- The DOS is 3.3 and 5.0 from Microsoft (not OEMed version for
- testing)
- The IPX and NETX are fairly new versions, made with the IPX.OBJ
- from Windows 3.1 and NETX 3.26
- The LOGIN.EXE, however, is whatever version came with Netware 2.15
- Rev. D.
- System login script stripped down to one WRITE statement to no avail.
-
- Is this a known bug?
- Cannot it work for a certain reason?
- Am I only stupid?
-
- Any help would be greatly appreciated.
-
- I quite need this CALL feature... the other opporunities are quite
- nasty:
- - doing an on-the-fly edit to merge standard AUTOEXEC with local
- extensions
- - forget about standardizing (meaning having to run around the
- building to fix things maually instead of telling person "OK,
- I changed your local extension. Please reboot and log into LAN
- TWICE, then it will take effect autimagically" (the first run
- copies the changed version from LAN to local drive, the second
- executes it))
- - Test for any and all things in a single file, making the latter
- quite complicated
-
- aTdHvAaNnKcSe
-
- --
- Jan H. Haul Tel. +49 40 - 890 57 57 Disc.: Not even *my*
- Hamburg, Germany Fax +49 40 - 890 51 57 opinion
-