Share
 
 

File Functions Reference (AutoLISP/Express Tools)

Note: Express Tools are supported in AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web.

The following table provides a summary of the AutoLISP Express Tools file functions.

File functions

Platforms

Windows

Mac OS

Web

Function

Description

AutoCAD AutoCAD LT AutoCAD AutoCAD LT AutoCAD

(acet-file-attr filename [attr])

Gets or sets the protection attributes of a specified file or directory

-- -- -- --

(acet-file-chdir directory)

Changes the current working directory

-- -- -- --

(acet-file-copy from to [force])

Copies a file

-- -- -- --

(acet-file-cwd)

Returns the current working directory

-- -- -- --

(acet-file-dir pattern [attributes] [starting-directory])

Locate files

-- -- -- --

(acet-file-mkdir directory)

Creates a new directory

-- -- -- --

(acet-file-move from to)

Moves or renames files

-- -- -- --

(acet-file-remove filespec [force])

Deletes one or more files

-- -- -- --

(acet-file-rmdir directory)

Removes a directory

-- -- -- --

Was this information helpful?