Skip to content

dos_move

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

Moves a single file or multiple files. The function can be used to move files from one directory to another, or from one drive to another.

Syntax

(dos_move source destination)

Parameters

source

The source file or files. source can contain wildcard characters ("*" and "?").

destination

The destination path or file.

Returns

T if successful.

nil on error.

Example

Command: (dos_move "C:\\Program Files\\AutoCAD 2006\\drawing1.dwg" "C:\\Temp\\")
T

Command: (dos_move "C:\\Program Files\\AutoCAD 2006\\drawing1.dwg" "C:\\Temp\\drawing1.bak")
T

Clone this wiki locally