PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Temporary directory
  • Bin
  • Equivalence
  • Operating mode in GO mode and at run time
  • Required application feature
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
SysDir (Function)
In French: SysRep
Returns the path of a system directory.
WEBDEV - Server code Returns the path of a system directory on the server.
PHP In this version, this function can only be used to return the system directory.
Universal Windows 10 App In this version, this function can only be used to return the directory that will be used by the applications to store the data (specific to the user).
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WINDEVWEBDEV - Server codeReports and QueriesWindows MobileAjaxUser code (UMC)
// Retrieve the path of system directory
ResDir = SysDir(srSystem)
PHP
// Retrieve the path of system directory
ResDir = SysDir()
Syntax
<Result> = SysDir([<System Directory>])
<Result>: Character string
Full path of specified directory.
<System Directory>: Optional constant
Corresponds to one of the following constants:
Directory depending on the user
Versions 19 and later
srPhotoAlbums
New in version 19
srPhotoAlbums
srPhotoAlbums
Directory containing the photo albums.
Windows MobileUniversal Windows 10 App This constant is not supported.
srAppDataDirectory that will be used by the applications to store the data (specific to the user).
Versions 19 and later
srDocumentsLibrary
New in version 19
srDocumentsLibrary
srDocumentsLibrary
Directory containing the library of documents.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srRecordedTVLibrary
New in version 19
srRecordedTVLibrary
srRecordedTVLibrary
Directory containing the library of TV recordings.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srPicturesLibrary
New in version 19
srPicturesLibrary
srPicturesLibrary
Directory containing the library of images.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srMusicLibrary
New in version 19
srMusicLibrary
srMusicLibrary
Directory containing the music library.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srLibraries
New in version 19
srLibraries
srLibraries
Directory containing the libraries.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srVideosLibrary
New in version 19
srVideosLibrary
srVideosLibrary
Directory containing the library of videos.
Windows MobileUniversal Windows 10 App This constant is not supported.
srDesktopDirectory corresponding to the Windows desktop.
Universal Windows 10 App This constant is not supported.
srInternetCacheDirectory used by Internet Explorer to store the last elements used.
Note: In Vista, to access this directory, "Enable the protected mode" must be unchecked in the options of Internet Explorer.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srScreenshots
New in version 19
srScreenshots
srScreenshots
Directory containing the screen shots.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srContacts
New in version 19
srContacts
srContacts
Directory containing the contacts (especially the cards of email correspondents).
Windows MobileUniversal Windows 10 App This constant is not supported.
srCookiesDirectory containing the cookies generated when navigating on Internet (Internet Explorer only).
Universal Windows 10 App This constant is not supported.
srStartupDirectory containing the applications that will be automatically started when the system or a session is started.
Universal Windows 10 App This constant is not supported.
srStartMenuDirectory containing the shortcuts of "Start" menu.
Universal Windows 10 App This constant is not supported.
srSendToDirectory corresponding to the "Send to" menu.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srUserPinned
New in version 19
srUserPinned
srUserPinned
Directory containing the shortcuts pinned by the user.
Windows MobileUniversal Windows 10 App This constant is not supported.
srFavoritesDirectory containing the "Favorites" (addresses of favorite Internet sites).
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srCDBurn
New in version 19
srCDBurn
srCDBurn
Directory containing the data to burn.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srHistory
New in version 19
srHistory
srHistory
Directory containing the history.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srAccountPictures
New in version 19
srAccountPictures
srAccountPictures
Directory containing the images of user account.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srOriginalImages
New in version 19
srOriginalImages
srOriginalImages
Directory containing the original images.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srRoamedTileImages
New in version 19
srRoamedTileImages
srRoamedTileImages
Directory containing the images for the roaming tiles.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srQuickLaunch
New in version 19
srQuickLaunch
srQuickLaunch
Directory containing the shortcuts for the launch bar.
Windows Mobile This constant is not supported.
Versions 19 and later
srLinks
New in version 19
srLinks
srLinks
Directory containing the links.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srPlaylists
New in version 19
srPlaylists
srPlaylists
Directory containing the playlists.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srLocalAppDataLow
New in version 19
srLocalAppDataLow
srLocalAppDataLow
Directory containing the rules of application data (specific to the computer rather than to a user).
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 18 and later
srMyMusic
New in version 18
srMyMusic
srMyMusic
Directory containing the music files of user.
Universal Windows 10 App This constant is not supported.
srMyDocumentsDirectory containing the documents of user.
Universal Windows 10 App This constant is not supported.
srMyPicturesDirectory for storing images.
Universal Windows 10 App This constant is not supported.
Versions 18 and later
srMyVideos
New in version 18
srMyVideos
srMyVideos
Directory containing the Video files of the user.
Universal Windows 10 App This constant is not supported.
srTemplatesDirectory of document templates.
Universal Windows 10 App This constant is not supported.
srAdminToolsDirectory containing the management tools.
Universal Windows 10 App This constant is not supported.
srProfileDirectory corresponding to the user profile.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srUserProfiles
New in version 19
srUserProfiles
srUserProfiles
Directory containing the user profiles.
Windows MobileUniversal Windows 10 App This constant is not supported.
srProgramFilesSetup Directory of Applications.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srUserProgramFilesCommon
New in version 19
srUserProgramFilesCommon
srUserProgramFilesCommon
Directory for installing the elements common to several applications belonging to the user.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srUserProgramFiles
New in version 19
srUserProgramFiles
srUserProgramFiles
Setup directory of user applications.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srProgramFilesX64
New in version 19
srProgramFilesX64
srProgramFilesX64
Setup directory of 64-bit applications.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srProgramFilesCommonX64
New in version 19
srProgramFilesCommonX64
srProgramFilesCommonX64
Directory for installing the elements common to several 64-bit applications.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srProgramFilesX86
New in version 19
srProgramFilesX86
srProgramFilesX86
Setup directory of x86 applications.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srProgramFilesCommonX86
New in version 19
srProgramFilesCommonX86
srProgramFilesCommonX86
Directory for installing the elements common to several x86 application.
Windows MobileUniversal Windows 10 App This constant is not supported.
srCommonProgramFilesSetup directory for elements common to several applications.
Universal Windows 10 App This constant is not supported.
srProgramsDirectory containing the "Program" sub-menu of "Start" menu.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srApplicationShortcuts
New in version 19
srApplicationShortcuts
srApplicationShortcuts
Directory containing the application shortcuts.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srImplicitAppShortcuts
New in version 19
srImplicitAppShortcuts
srImplicitAppShortcuts
Directory containing the shortcuts of implicit applications.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srPrinterShortcuts
New in version 19
srPrinterShortcuts
srPrinterShortcuts
Directory containing the printer shortcuts.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srNetworkShortcuts
New in version 19
srNetworkShortcuts
srNetworkShortcuts
Directory containing the network shortcuts.
Universal Windows 10 App This constant is not supported.
srRecentShortcuts to the last documents used.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srSavedGames
New in version 19
srSavedGames
srSavedGames
Directory containing the backups of games.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srSavedSearches
New in version 19
srSavedSearches
srSavedSearches
Directory containing the backups of searches.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srRingtones
New in version 19
srRingtones
srRingtones
Directory containing the ring tones.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srGameTasks
New in version 19
srGameTasks
srGameTasks
Directory containing the game tasks.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 18 and later
srDownloads
New in version 18
srDownloads
srDownloads
Directory containing all the downloads performed by the user.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srRoamingTiles
New in version 19
srRoamingTiles
srRoamingTiles
Directory containing the data for the roaming tiles.
Windows MobileUniversal Windows 10 App This constant is not supported.
Directory depending on the system only (common to all the users)
srCommonAppDataDirectory that will be used by the applications to store the data (common to all the users).
Universal Windows 10 App This constant is not supported.
srLocalAppDataDirectory that will be used by the applications to store the data (specific to a user).
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srPublicLibraries
New in version 19
srPublicLibraries
srPublicLibraries
Directory containing the libraries.
Windows MobileUniversal Windows 10 App This constant is not supported.
srCommonDesktopDirectory corresponding to the Windows desktop.
Universal Windows 10 App This constant is not supported.
srCommonStartupDirectory containing the applications that will be automatically started when the system or a session is started.
Universal Windows 10 App This constant is not supported.
srCommonStartMenuDirectory containing the shortcuts of "Start" menu.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srSamplePictures
New in version 19
srSamplePictures
srSamplePictures
Directory containing the image samples.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srSamplePlaylists
New in version 19
srSamplePlaylists
srSamplePlaylists
Directory containing the playlist samples.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srSampleMusic
New in version 19
srSampleMusic
srSampleMusic
Directory containing the music samples.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srSampleVideos
New in version 19
srSampleVideos
srSampleVideos
Directory containing the video samples.
Windows MobileUniversal Windows 10 App This constant is not supported.
srCommonFavoritesDirectory containing the Favorites.
Universal Windows 10 App This constant is not supported.
srFontsDirectory of fonts installed on the system (to enumerate the fonts, use FontList).
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srSidebarParts
New in version 19
srSidebarParts
srSidebarParts
Directory containing the gadgets.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srPublicUserTiles
New in version 19
srPublicUserTiles
srPublicUserTiles
Directory containing the images of user account.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srCommonPictures
New in version 19
srCommonPictures
srCommonPictures
Directory containing the shared images.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srDeviceMetadataStore
New in version 19
srDeviceMetadataStore
srDeviceMetadataStore
Directory containing the metadata store.
Windows MobileUniversal Windows 10 App This constant is not supported.
srCommonMyDocumentsDirectory containing the documents of user.
Universal Windows 10 App This constant is not supported.
srCommonTemplatesDirectory of document templates.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srCommonMusic
New in version 19
srCommonMusic
srCommonMusic
Directory containing the common music.
Windows MobileUniversal Windows 10 App This constant is not supported.
srCommonAdminToolsDirectory containing the management tools.
Universal Windows 10 App This constant is not supported.
srCommonProgramsDirectory containing the "Program" sub-menu of "Start" menu.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srPublic
New in version 19
srPublic
srPublic
Directory containing the public data.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srResources
New in version 19
srResources
srResources
Directory containing the resources.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srResourcesLocalized
New in version 19
srResourcesLocalized
srResourcesLocalized
Directory containing the localized resources.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srPublicRingtones
New in version 19
srPublicRingtones
srPublicRingtones
Directory containing the ring tones.
Windows MobileUniversal Windows 10 App This constant is not supported.
srSystemSystem directory.
Universal Windows 10 App This constant is not supported.
Versions 19 and later
srSystemX86
New in version 19
srSystemX86
srSystemX86
x86 system directory.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srPublicGameTasks
New in version 19
srPublicGameTasks
srPublicGameTasks
Directory containing the game tasks.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srPublicDownloads
New in version 19
srPublicDownloads
srPublicDownloads
Directory containing all the downloads.
Windows MobileUniversal Windows 10 App This constant is not supported.
Versions 19 and later
srCommonVideo
New in version 19
srCommonVideo
srCommonVideo
Directory containing the shared videos.
Windows MobileUniversal Windows 10 App This constant is not supported.
srWindows
(Default value)
Directory of Windows.
Universal Windows 10 App This constant is not supported.
PHP This parameter is not available. SysDir can only be used to return the system directory (equivalent to the srSystem constant).
Universal Windows 10 App SysDir can only be used to return the directory for storing data (srAppData constant).
Remarks

Temporary directory

To find out the temporary directory of Windows, use fTempPath.

Bin

The "Bin" corresponds to a virtual directory managed by Windows. Therefore, SysDir cannot be used to find out the path of "Bin".
Windows Mobile

Equivalence

The operating mode of SysDir is equivalent to the operating mode of ceSysDir.
The only difference is:
  • ceSysDir is using a directory found on Pocket PC from a WINDEV application.
  • SysDir is using a directory found on Pocket PC from a WINDEV Mobile application.
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), the window must be found on the development computer.
At run time, the window must be found on the Pocket PC.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Versions 21 and later
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of several application features in the wizard for generating the application.
Required features:
  • Image library
  • Video library
  • Media library
  • Document library
New in version 21
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of several application features in the wizard for generating the application.
Required features:
  • Image library
  • Video library
  • Media library
  • Document library
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of several application features in the wizard for generating the application.
Required features:
  • Image library
  • Video library
  • Media library
  • Document library
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment