os.Path.chvolume

Changes the current working volume.

Syntax

os.Path.chvolume(
   new STRING)
  RETURNING result INTEGER
  1. new is the volume to select as the new current working volume.

Usage

To change the current volume to C:
LET result = os.Path.chvolume("C:\\")

The function returns TRUE if the current working volume could be successfully changed, FALSE otherwise.