ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Recycle Bin functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
RecycleBinRestore (Function)
In french: CorbeilleRestaure
Restores a file found in the recycle bin of the system.
Example
// -- Button for filling a List Box control
// Display the elements of the recycle bin in a List Box control
sMyBinList is string
ListDeleteAll(LIST_Bin)
sMyBinList = RecycleBinListFile()
ListAdd(LIST_Bin, sMyBinList)
 
// -- Button for restoring the element selected in the List Box control
RecycleBinRestore(LIST_Bin[LIST_Bin])
Syntax
<Result> = RecycleBinRestore(<File name>)
<Result>: Boolean
  • True if the restore operation was performed,
  • False otherwise.
<File name>: Character string
Full source name of the file (full path and name of the file). If the file is found several times in the recycle bin, all the files will be restored (under different names).
To restore a single file, the name of the file must be followed by the erase time in the following format:
<File Name> + TAB + <Erase Time>
This format is returned by RecycleBinListFile.
Component: wd290std.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help