std-current-drive


Synopsis

(std-current-drive) ; => "C:"

(std-current-path) ; => "C:/ACAD/"

Description

STD-CURRENT-DRIVE returns two-character string containing the actual uppercase drive letter plus a colon.This function makes only sense at systems using drive letters, such as DOS, Windows and OS/2. Elsewhere it returns the empty string "".

STD-CURRENT-PATH returns the current system path, including the current drive if supported by the system.

Example

(std-current-drive)  => "C:"

Arguments

None.

Return Value

Strings.

Side Effects

It may shell out.

Module

(std-require 'STDFILE)

Defined in STDFILE