RMDIR

RMDIR(pathname)

Removes an existing directory.


pathnameThe full pathname of the directory you want to remove (String).

REMARKS
* You must delete any files in the folder first though.
* You can use the DIR function to check if a file or directory exists.
* You can use the MKDIR statement to create a new directory.
* The equivalent .NET statement is Microsoft.VisualBasic.FileSystem.RmDir
* For the Microsoft documentation refer to learn.microsoft.com

RmDir("C:\Temp") 
RmDir("C:\Temp\")

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top