autorun an app on startup in dos 6.2?
Results 1 to 4 of 4

Thread: autorun an app on startup in dos 6.2?

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    NZ
    Posts
    1

    Question autorun an app on startup in dos 6.2?

    I have a stinky old laptop with DOS 6.2 on it, I only have one program on there and I would like it to open automatically when I startup my computermachine. Do I make a batch file or something? anybody know?

  2. #2
    Registered User
    Join Date
    Oct 1999
    Location
    Clackamas, OR USA
    Posts
    5,422

    Post

    You just need to type

    edit autoexec.bat

    from the c:\> and add the name and path of the executable below whatever is already there. Then save, exit, and reboot.

  3. #3
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Post

    if the executable is a batch file Dont forget to add - Call - before the statement, E.G.

    Call 1.bat

    This means that executing the batch file doesnt terminate the current one.

  4. #4
    Registered User sdrawkcab's Avatar
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    240

    Post

    Originally posted by Gabriel:
    <STRONG>if the executable is a batch file Dont forget to add - Call - before the statement, E.G.

    Call 1.bat

    This means that executing the batch file doesnt terminate the current one.</STRONG>
    Or even better, copy and paste the contents of 1.bat in to autoexec.bat, as using the CALL function will leave autoexec.bat partially finished, possible leaving drivers or TSRs uninstalled... not a "must-do", but it simplifies things for newbies.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •