From Xojo Documentation
| This item was deprecated in version 2020r2.
Please use SpecialFolder as a replacement.
The SpecialFolder modules provides access to OS-specific folders.
For desktop, web and console projects you can create a Xojo.IO.FolderItem from a FolderItem returned from a classic framework class or method. Use this to access the classic SpecialFolder for more available locations:
Dim desktop As New Xojo.IO.FolderItem(desktopClassic.NativePath.ToText)
All path locations noted for the methods below are from recent versions of the various operating systems. Keeps in mind that paths can vary across OS versions and in the case of Linux, specific distributions. These operating systems were used to determine paths:
- Windows 10 Anniversary Edition
- macOS Sierra 10.12.1
- Linux Mint 18
- iOS 10.1