PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • SOAP server
  • Path of a system directory
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
Returns the directory from which the execution is started.
WEBDEV - Server code Returns the runtime directory of the project. This directory must be accessible in read/write. In most cases, it contains the data files and the other files handled by the WEBDEV site.
Caution: fExeDir is used to find out the runtime directory while fCurrentDir is used to find out the current directory.
Example
// Runtime directory
Info("This application is started from " + fExeDir())
Syntax
<Result> = fExeDir()
<Result>: Character string
Directory from which the executable is run. This path does not end with the "\" character.
  • In test mode (GO from WINDEV), corresponds to:
    • the generation directory given in the description of the current project configuration.
    • the EXE sub-directory of the project directory.
  • At run time, corresponds to the directory containing the current executable.
WEBDEV - Server code Runtime directory of the project. In test mode and in deployment (GO from WEBDEV), corresponds to the EXE sub-directory of the project directory.
Remarks
WEBDEV - Server codeAjax

SOAP server

fExeDir used on a SOAP server returns the path of the directory containing the library of the SOAP server currently run.

Path of a system directory

To find out the path of a system directory, use SysDir.
Related Examples:
Handling text files Unit examples (WINDEV): Handling text files
[ + ] Handling "text" files with WINDEV:
- Create a text file
- Write into a text file
- Read in a text file
Handling text files Unit examples (WEBDEV): Handling text files
[ + ] This example explains how to handle "non HFSQL" files with WEBDEV and it allows you to:
- Create a text file
- Write into a text file
- Read in a text file
Handling text files Unit examples (WINDEV Mobile): Handling text files
[ + ] Handling external "text" files:
- Create a text file
- Write into a text file
- Read in a text file
Component : wd240vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment