Xojo.IO.SpecialFolder

From Xojo Documentation

Module

The SpecialFolder modules provides access to OS-specific folders.

Methods
ApplicationSupport Documents Temporary
Caches GetResource

Notes

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 desktopClassic As FolderItem = SpecialFolder.Desktop
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

See Also

Xojo.IO.FolderItem class