spexet@ux.acs.umn.edu (D. Robert Spexet II) (10/13/90)
Has anybody here been having problems with the PROFILE.BAT files in IBM's OS/2 LAN Server 1.2? Here is the situation: We've set up a network, using the OS/2 LAN Server 1.2 software for the file server, and the DOS LAN Requester program for the workstations. For those that use this software (which probably includes those that are running LAN Manager), one can set up a file called PROFILE.BAT, which in- cludes a series of DOS commands that will be executed when a user logs on, much like the AUTOEXEC.BAT file. The PROFILE.BAT file is placed within the DCDB\USERS\userid subdirectory, one for each user. For reference, here is the PROFILE.BAT file I'm using: =========================================================== PATH %PATH%;D:\;E:\ SET TEMP=D:\WINDOWS\TEMP =========================================================== where D:\ and E:\ are network volumes. The problem we're running into is this: While the PROFILE.BAT file is being executed, the environment variables (like TEMP and PATH) appear to be set correctly. But, when the PROFILE.BAT file stops running, all the environment variables are reset to what they were before the PROFILE.BAT file was exe- cuted. (i.e., the PATH is reset to what it was before the PROFILE.BAT file was executed, and the TEMP variable disappears, as if it were never set.) Has anybody else run into this problem? And, if so, does anybody know how it can be fixed? Thanks, -D. Robert Spexet II, Post Office Box 14909, Minneapolis, Minnesota 55414-0909 Internet: spexet@ux.acs.umn.edu BITNET: spexet@umnacux.BITNET UUCP: rutgers!umn-cs!ux.acs.umn.edu!spexet