PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Temporary directory
  • Bin
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.
Example
Reports and Queries
// Retrieve the path of system directory
ResDir = SysDir(srSystem)
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.
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.
Versions 19 and later
srRecordedTVLibrary
New in version 19
srRecordedTVLibrary
srRecordedTVLibrary
Directory containing the library of TV recordings.
Versions 19 and later
srPicturesLibrary
New in version 19
srPicturesLibrary
srPicturesLibrary
Directory containing the library of images.
Versions 19 and later
srMusicLibrary
New in version 19
srMusicLibrary
srMusicLibrary
Directory containing the music library.
Versions 19 and later
srLibraries
New in version 19
srLibraries
srLibraries
Directory containing the libraries.
Versions 19 and later
srVideosLibrary
New in version 19
srVideosLibrary
srVideosLibrary
Directory containing the library of videos.
srDesktopDirectory corresponding to the Windows desktop.
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.
Versions 19 and later
srScreenshots
New in version 19
srScreenshots
srScreenshots
Directory containing the screen shots.
Versions 19 and later
srContacts
New in version 19
srContacts
srContacts
Directory containing the contacts (especially the cards of email correspondents).
srCookiesDirectory containing the cookies generated when navigating on Internet (Internet Explorer only).
srStartupDirectory containing the applications that will be automatically started when the system or a session is started.
srStartMenuDirectory containing the shortcuts of "Start" menu.
srSendToDirectory corresponding to the "Send to" menu.
Versions 19 and later
srUserPinned
New in version 19
srUserPinned
srUserPinned
Directory containing the shortcuts pinned by the user.
srFavoritesDirectory containing the "Favorites" (addresses of favorite Internet sites).
Versions 19 and later
srCDBurn
New in version 19
srCDBurn
srCDBurn
Directory containing the data to burn.
Versions 19 and later
srHistory
New in version 19
srHistory
srHistory
Directory containing the history.
Versions 19 and later
srAccountPictures
New in version 19
srAccountPictures
srAccountPictures
Directory containing the images of user account.
Versions 19 and later
srOriginalImages
New in version 19
srOriginalImages
srOriginalImages
Directory containing the original images.
Versions 19 and later
srRoamedTileImages
New in version 19
srRoamedTileImages
srRoamedTileImages
Directory containing the images for the roaming tiles.
Versions 19 and later
srQuickLaunch
New in version 19
srQuickLaunch
srQuickLaunch
Directory containing the shortcuts for the launch bar.
Versions 19 and later
srLinks
New in version 19
srLinks
srLinks
Directory containing the links.
Versions 19 and later
srPlaylists
New in version 19
srPlaylists
srPlaylists
Directory containing the playlists.
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).
Versions 18 and later
srMyMusic
New in version 18
srMyMusic
srMyMusic
Directory containing the music files of user.
srMyDocumentsDirectory containing the documents of user.
srMyPicturesDirectory for storing images.
Versions 18 and later
srMyVideos
New in version 18
srMyVideos
srMyVideos
Directory containing the Video files of the user.
srTemplatesDirectory of document templates.
srAdminToolsDirectory containing the management tools.
srProfileDirectory corresponding to the user profile.
Versions 19 and later
srUserProfiles
New in version 19
srUserProfiles
srUserProfiles
Directory containing the user profiles.
srProgramFilesSetup Directory of Applications.
Versions 19 and later
srUserProgramFilesCommon
New in version 19
srUserProgramFilesCommon
srUserProgramFilesCommon
Directory for installing the elements common to several applications belonging to the user.
Versions 19 and later
srUserProgramFiles
New in version 19
srUserProgramFiles
srUserProgramFiles
Setup directory of user applications.
Versions 19 and later
srProgramFilesX64
New in version 19
srProgramFilesX64
srProgramFilesX64
Setup directory of 64-bit applications.
Versions 19 and later
srProgramFilesCommonX64
New in version 19
srProgramFilesCommonX64
srProgramFilesCommonX64
Directory for installing the elements common to several 64-bit applications.
Versions 19 and later
srProgramFilesX86
New in version 19
srProgramFilesX86
srProgramFilesX86
Setup directory of x86 applications.
Versions 19 and later
srProgramFilesCommonX86
New in version 19
srProgramFilesCommonX86
srProgramFilesCommonX86
Directory for installing the elements common to several x86 application.
srCommonProgramFilesSetup directory for elements common to several applications.
srProgramsDirectory containing the "Program" sub-menu of "Start" menu.
Versions 19 and later
srApplicationShortcuts
New in version 19
srApplicationShortcuts
srApplicationShortcuts
Directory containing the application shortcuts.
Versions 19 and later
srImplicitAppShortcuts
New in version 19
srImplicitAppShortcuts
srImplicitAppShortcuts
Directory containing the shortcuts of implicit applications.
Versions 19 and later
srPrinterShortcuts
New in version 19
srPrinterShortcuts
srPrinterShortcuts
Directory containing the printer shortcuts.
Versions 19 and later
srNetworkShortcuts
New in version 19
srNetworkShortcuts
srNetworkShortcuts
Directory containing the network shortcuts.
srRecentShortcuts to the last documents used.
Versions 19 and later
srSavedGames
New in version 19
srSavedGames
srSavedGames
Directory containing the backups of games.
Versions 19 and later
srSavedSearches
New in version 19
srSavedSearches
srSavedSearches
Directory containing the backups of searches.
Versions 19 and later
srRingtones
New in version 19
srRingtones
srRingtones
Directory containing the ring tones.
Versions 19 and later
srGameTasks
New in version 19
srGameTasks
srGameTasks
Directory containing the game tasks.
Versions 18 and later
srDownloads
New in version 18
srDownloads
srDownloads
Directory containing all the downloads performed by the user.
Versions 19 and later
srRoamingTiles
New in version 19
srRoamingTiles
srRoamingTiles
Directory containing the data for the roaming tiles.
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).
srLocalAppDataDirectory that will be used by the applications to store the data (specific to a user).
Versions 19 and later
srPublicLibraries
New in version 19
srPublicLibraries
srPublicLibraries
Directory containing the libraries.
srCommonDesktopDirectory corresponding to the Windows desktop.
srCommonStartupDirectory containing the applications that will be automatically started when the system or a session is started.
srCommonStartMenuDirectory containing the shortcuts of "Start" menu.
Versions 19 and later
srSamplePictures
New in version 19
srSamplePictures
srSamplePictures
Directory containing the image samples.
Versions 19 and later
srSamplePlaylists
New in version 19
srSamplePlaylists
srSamplePlaylists
Directory containing the playlist samples.
Versions 19 and later
srSampleMusic
New in version 19
srSampleMusic
srSampleMusic
Directory containing the music samples.
Versions 19 and later
srSampleVideos
New in version 19
srSampleVideos
srSampleVideos
Directory containing the video samples.
srCommonFavoritesDirectory containing the Favorites.
srFontsDirectory of fonts installed on the system (to enumerate the fonts, use FontList).
Versions 19 and later
srSidebarParts
New in version 19
srSidebarParts
srSidebarParts
Directory containing the gadgets.
Versions 19 and later
srPublicUserTiles
New in version 19
srPublicUserTiles
srPublicUserTiles
Directory containing the images of user account.
Versions 19 and later
srCommonPictures
New in version 19
srCommonPictures
srCommonPictures
Directory containing the shared images.
Versions 19 and later
srDeviceMetadataStore
New in version 19
srDeviceMetadataStore
srDeviceMetadataStore
Directory containing the metadata store.
srCommonMyDocumentsDirectory containing the documents of user.
srCommonTemplatesDirectory of document templates.
Versions 19 and later
srCommonMusic
New in version 19
srCommonMusic
srCommonMusic
Directory containing the common music.
srCommonAdminToolsDirectory containing the management tools.
srCommonProgramsDirectory containing the "Program" sub-menu of "Start" menu.
Versions 19 and later
srPublic
New in version 19
srPublic
srPublic
Directory containing the public data.
Versions 19 and later
srResources
New in version 19
srResources
srResources
Directory containing the resources.
Versions 19 and later
srResourcesLocalized
New in version 19
srResourcesLocalized
srResourcesLocalized
Directory containing the localized resources.
Versions 19 and later
srPublicRingtones
New in version 19
srPublicRingtones
srPublicRingtones
Directory containing the ring tones.
srSystemSystem directory.
Versions 19 and later
srSystemX86
New in version 19
srSystemX86
srSystemX86
x86 system directory.
Versions 19 and later
srPublicGameTasks
New in version 19
srPublicGameTasks
srPublicGameTasks
Directory containing the game tasks.
Versions 19 and later
srPublicDownloads
New in version 19
srPublicDownloads
srPublicDownloads
Directory containing all the downloads.
Versions 19 and later
srCommonVideo
New in version 19
srCommonVideo
srCommonVideo
Directory containing the shared videos.
srWindows
(Default value)
Directory of Windows.
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".
Component : wd240std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment