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.