ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System 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
SysUnlinkExtension (Function)
In french: SysDissocieExtension
Deletes the association between an extension and a command that was created by SysLinkExtension.
Example
// Links the ".txt" extension to the "app.exe" executable
SysLinkExtension(".txt", "C:\Program Files\MyApp\app.exe ""%1""", sysCurrentUser)
...
SysUnlinkExtension(".txt", sysCurrentUser)
Syntax
<Result> = SysUnlinkExtension(<Extension> [, <User>])
<Result>: Boolean
  • True if the unlink operation was performed,
  • False otherwise. ErrorInfo returns more details.
<Extension>: Character string
Extension to free.
<User>: Optional Integer constant
The association between the application and the extension is saved in the registry. Two options are available:
sysAllUsers
(Default value)
The association will be deleted for all the users of the current computer.
Remark: You must have the "Administrator" rights to run this operation.
sysCurrentUserThe association will be deleted for the current user only.
Remarks
Once the extension is freed, the explorer can temporarily store the association or propose the program that was previously linked (independent data of registries).
Component: wd290std.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help