Skip to content

dos_getpassword

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

Windows Dialog box equivalent to LISP getstring function. The Dialog box displays a password-style edit control.

Syntax

(dos_getpassword title message [default [length]])

Parameters

title

A string containing the dialog box title.

message

A string containing a message.

default

A default string value.

length

A maximum character length limit.

Returns

A string value, if successful.

nil on cancel or on error

Example

Command: (dos_getpassword "Password" "Enter your password")
"password"

Clone this wiki locally