File_RenameDir

Description

Renames a directory


Syntax

File_RenameDir(sOrgDirName, sNewDirName) As Boolean


Parameters

sOrgDirName (String)

Original directory name

sNewDirName (String)

New directory name


Example

VBScript
If bStatus Then bStatus = File_RenameDir("C:\CMS", "C:\CapaInstaller")

Scripting Guidelines


Related functions

File_RenameFile