ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Standard functions / Mobile Device (Pocket PC) access functions
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
Deletes a directory from the Mobile Device (Pocket PC) connected to the current computer.
Remark: The directory can be deleted only if the following conditions are fulfilled:
  • the directory is empty (except if the ceRecursive constant is specified).
  • the user has sufficient rights to delete a directory.
  • a connection is established between the current computer and the Mobile Device (ceConnect).
Example
// Delete a directory from the Mobile device connected to the current computer
ResDelete = ceRemoveDir("\MyFile\MyImages")
// Has a problem occurred?
IF ResDelete = False THEN Error(ErrorInfo())
Syntax
<Result> = ceRemoveDir(<Path of directory to delete> [, <Deletion indicator>])
<Result>: Boolean
  • True if the function was successful,
  • False otherwise. If an error occurs, you can get the details of the error with ErrorInfo.
<Path of directory to delete>: Character string (with quotes)
Full path of the directory that must be deleted from the Mobile Device connected to the current computer.
<Deletion indicator>: Optional constant
Deletion options:
ceReadOnlyAlso erases the read-only files and/or directories. If this constant is not specified, the function will return False if read-only files must be deleted.
ceRecursiveThe contents of directory and sub-directories are also deleted. If this constant is not specified, the directory must be empty in order to be deleted.

<Deletion indicator> is empty by default. No option is selected.
Remarks
ceRemoveDir and fRemoveDir have equivalent operating modes.
The only difference is:
  • ceRemoveDir deletes a directory found on the Mobile Device from a WINDEV application.
  • fRemoveDir deletes a directory found on the Mobile Device only from a WINDEV Mobile application.
Component: wd260ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/26/2020

Send a report | Local help