Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>setlogical() - set the next logical drive you will use</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     setlogical() - set the next logical drive you will use
  Usage:    setlogical(<drive>)
  Params:   string <drive> - drive letter you will use next
  Returns:  nothing

 ---------------------------------- Example ---------------------------------

                 setlogical("A:")
                 append from a:text SDF
                 setlogical("D:")
                 run FORMAT

  Note:     This is mainly for users who have single drive machines.
            DOS keeps track of which drive it is currently on. If
            you are currently on A: and you switch to B: on a single
            drive machine, DOS asks you to insert the disk for
            drive B: before continuing. This message can appear on
            the screen of your application. If you use setlogical()
            to tell DOS that the next logical drive access will be
            for B:, it won't display the message. setlogical()
            also works for drives that have been assigned with the
            DRIVER.SYS file. setlogical() only works with DOS version
            3.20 or higher.


See Also: isdrive()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson