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>setvolume() - set volume label</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     setvolume() - set volume label
  Usage:    <logical> = setvolume(<label>,[<drive>])
  Params:   string <label> - the volume label name to set
            string <drive> - the drive letter to use, optional. If
            no drive given then the current logged drive is used
  Returns:  logical .T. if label set, .F. if not or error

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

                 @ 8,0   say "Current volume is:" +getvolume("A:")
                 @ 10,0  say "Enter new volume label: " get mvol
                 read

                 delvolume("A:")
                 setvolume(mvol,"A:")

  Note:     You MUST delete the volume BEFORE you can set the
            volume. setvolume() will always fail if a volume name
            already exists. setvolume() only works under DOS 3.00
            and higher. This function sets ferror() if an error occurs.


See Also: delvolume() getvolume()

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