home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27647 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.5 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ncar!hsdndev!ksgbbs.harvard.edu!timb
  2. From: timb@ksgbbs.harvard.edu (Tim Buehrer - 625-6829)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Netware problems with OS2
  5. Summary: How to change the default lastdrive parameter for dos sessions
  6. Keywords: netware lastdrive
  7. Message-ID: <1992Aug18.203433.12162@ksgbbs.harvard.edu>
  8. Date: 18 Aug 92 20:34:33 GMT
  9. Organization: Kennedy School of Government, Harvard, Cambridge
  10. Lines: 19
  11.  
  12. I am trying to run a DOS batch file from a REXX script.  The problem that I
  13. face is that the batch file is attempting to log in to a netware server
  14. using the private services of the netware requester for OS/2.  This would 
  15. work, except that when OS/2 creates the DOS window for the batch file to run
  16. in, it creates it with the default settings for all of the session parameters
  17. including lastdrive=z.  This does not leave any drives for netware.  I tried
  18. setting lastdrive=e in config.sys which fixed the problem for the DOS sessions
  19. but made it impossible to map network drives from within OS/2.  Any ideas on 
  20. how I could fix this?
  21.  
  22. One solution would be to execute a program object from the REXX script rather
  23. than a dos batch file.  The DOS program object could then have its DOS settings
  24. set before hand and it would just work.  Unfortunately, I haven't been able to
  25. figure out how to do that.  Any suggestions on this solution?
  26.  
  27. Thanks for taking the time to read this note.
  28.  
  29. Tim Buehrer
  30. timb@ksgbbs.harvard.edu
  31.