Directory Management

 

 

Function list

By type

Alphabetically

 

 

AskDirectory( prompt, browse-root, start-dir, confirm-prompt, flags )

Displays a directory browse dialog box, and returns the selected directory name.

DirAttrGet( [d:]path )

Gets directory attributes.

DirAttrGetEx( [d:]path )

Gets directory attributes (extended).

DirAttrSet( dir-list, settings)

Sets directory attributes.

DirAttrSetEx ( dir-list, attributes, mode)

Sets directory attributes (extended).

DirChange( [d:]path )

Changes the current directory.

DirExist( pathname )

Determines if a directory exists.

DirGet( )

Returns the current directory path.

DirHome( )

Returns the initial directory path.

DirInfoToArray( dir-list [, flags])

Returns information on a set of directories, as an array.

DirItemize( dir-list )

Builds a list of directories.

DirMake( [d:]path )

Creates a new directory.

DirRemove( dir-list )

Removes an existing empty directory.

DirRename( [d:]oldpath, [d:]newpath )

Renames a directory.

DirScript( )

Returns the full directory path (without the filename) of the current WinBatch program.

DirSize( dir-name, flags [ ,format] )

This function returns the total size of a directory, including all files in the directory, and all files in all subdirectories under the directory.

DirWindows( request# )

Returns the name of the Windows or Windows System directory.

ShortCutDir( name/csidl [, source [, add-slash]] )

Gets the path of a folder identified by a name or CSIDL value.