Skip to content

dos_computer

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns or sets the computer name of the current system. The name is established at system startup, when it is initialized from the Windows Registry. Changes to the computer name take effect the next time the system is started.

Syntax

(dos_computer [name])

Parameters

name

The computer name.

Returns

A string identifying the computer name if successful.

nil on error.

Example

Command: (dos_computer)
"ELVIS"

Command: (dos_computer "SPEEDO")
"SPEEDO"

Clone this wiki locally