WinFile versus FilesAndDirs

In order to make the move from WinFiles to FilesAndDirs as smooth as possible this page compares the two classes.

(Almost) unchanged functions

WinFile

FilesAndDirs

Remarks

Cd

Cd

CheckPath

CheckPath

CopyToWithRC

CopyTo

Delete

DeleteFile

Dir, DirTree, DirX

Dir

DoesExist

Exists

DoesExistDir

IsDir

DoesExistFile

IsFile

ExpandPath

Normalize

See also EnforceBackSlash

GetTempFileName

GetTempFilename

Notice change in spelling

GetTempPath

GetTempPath

ListDirsOnly

ListDirs

ListFilesOnly

ListFiles

MkDir

MkDir

MoveToWithRC

MoveTo

PWD

PWD

PolishCurrentDir

PolishCurrentDir

RmDir

RmDir

(Recursive' 1) is now the default

Functions added to FilesAndDirs

Function name

Remarks

GetNewLineCharsFor

IsSymbolicLink

CopyTree

MoveTree

Removed functions

WinFile

Remarks

CopyTo

CreateDirParms

CreateDirXParms

CreateListFilesOnlyParms

DateOf

DirTree

ExpandEnv

GetAllDrives

GetDriveAndType

HasSubDirs

IsDirEmpty

IsFilenameOkay

IsFoldernameOkay

IsValidWin32Filename

ListDirXIndices

ListFileAttributes

MoveTo

ReadAnsiFile

ReadBytesAs8BitSignedIntegersFromFile

WriteAnsiFile

YoungerThan