PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HDeleteDirectory (Function)
In French: HSupprimeRépertoire
HFSQL Client/ServerAvailable only with this kind of connection
Deletes a directory found in a HFSQL Client/Server database. This directory must be empty.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 19 and later
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
New in version 19
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
HDeleteFile(MyConnection, "ModuleCRM\Prospect.fic")
HDeleteDirectory(MyConnection, "ModuleCRM")
Syntax
<Result> = HDeleteDirectory(<Connection Name> , <Directory to Delete>)
<Result>: Boolean
  • True if the directory was deleted,
  • False if an error occurred (the directory does not exist on the server or the directory is not empty for example). HError is used to identify the error.
<Connection Name>: Character string (with or without quotes)
Name of the connection for which the directory must be deleted. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Directory to Delete>: Character string (with or without quotes)
Path of Directory to Delete. This path is relative to the database: the name of the database must not be specified in the path. This directory must be empty.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment