home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / misc / 28755 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!PKSMRVM.VNET.IBM.COM!KENKAHN
  2. From: KENKAHN@PKSMRVM.VNET.IBM.COM ("Kenneth A. Kahn")
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Autoexec.bat (problem?)
  5. Message-ID: <9208311815.AA09490@ucbvax.Berkeley.EDU>
  6. Date: 31 Aug 92 18:02:58 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Lines: 26
  9.  
  10. Organization: Staff of IBM Fellow - NetWork Computing
  11. Disclaimer: This posting represents the poster's views, not those of IBM
  12. News-Software: UReply 3.0
  13. X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
  14. References: <1992Aug31.133951.3736@spcvxb.spc.edu>
  15.  
  16. In <1992Aug31.133951.3736@spcvxb.spc.edu> mauritz_c@spcvxb.spc.edu writes:
  17. >Hello!
  18. >
  19. >I've noticed that when I run an OS/2 fullscreen session, the
  20. >autoexec.bat file does not get executed automatically.  Is this
  21. >normal behavior?  If so, how do I make it execute when I start
  22. >an OS/2 session?
  23. >
  24.  
  25. The AUTOEXEC.BAT file is *only* run when starting a DOS Session, not an OS/2
  26. session.  If you want certain actions performed when starting an OS/2 Window
  27. or Full Screen session, edit the SESSION parameters for the associated object
  28. and where it says optional parameters, add "/K xxxxxx" where xxxxx is one or
  29. more OS/2 commands separated by &; just like you can for a regular OS/2
  30. command prompt.
  31.  
  32.   Example: /K (MODE CO80,50) & (CD E:\TEST)
  33.  
  34. This will start the session in 50 line mode and the default directory will be
  35. E:\TEST
  36.