Skip to content

dos_clipboard

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

Returns or sets a string of text in the Windows clipboard.

Syntax

(dos_clipboard [string])

Parameters

string

A string of text to set in the Windows clipboard.

Returns

The string if successful.

nil on error.

Example

Command: (dos_clipboard "Hello World!")
"Hello World!"

Command: (dos_clipboard)
"Hello World!"

Clone this wiki locally