PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Checks the existence of a directory.
Example
WEBDEV - Server codePHPAjax
MyDirectory is string = "C:\DataDirectory"
IF fDirectoryExist(MyDirectory) = True THEN
Info("The directory " + MyDirectory + " exists on disk")
END
Syntax
<Result> = fDirectoryExist(<Directory name>)
<Result>: Boolean
  • True if the directory exists,
  • False otherwise (the directory name corresponds to a file name for example).
<Directory name>: Character string (with quotes)
Name and full (or relative) path of the directory. Wildcard characters (*,?) are not allowed.
Versions 15 and later
WindowsLinux This parameter can be in Ansi or Unicode format.
New in version 15
WindowsLinux This parameter can be in Ansi or Unicode format.
WindowsLinux This parameter can be in Ansi or Unicode format.
Remarks
To check the existence of a file, use fFileExist.
Component : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
CRIAR DIRETORIO WINDEV MOBILE
CRIAR DIRETORIO USANDO
SysStatusStorageCard
fDirectoryExist
fMakeDir

https://youtu.be/txcH3ajxokc

amarildo
07 Nov. 2018
EXEMPLO
https://youtu.be/4X8OyClwJjk

http://windevdesenvolvimento.blogspot.com.br/2018/04/dicas-1740-publica-windev-arquivos-24.html

https://groups.google.com/d/forum/amarildowindev
http://windevdesenvolvimento.blogspot.com/2018/01/inscricao-para-grupo-privado-amarildo.html
http://windevdesenvolvimento.blogspot.com.br/2017/07/menu-blog.html

// EXEMPLO


// VOU PERGUNTAR SE DIRETORIO EXISTE

IF fDirectoryExist(EDT_DIRETORIO) THEN

ELSE
fMakeDir(EDT_DIRETORIO)
// SE NAO EXISTIR, VAMOS CRIAR DIRETORIO
END

// SIMPLES

De matos
29 May 2018
Exemplo para Ver Se Diretorio Existe
//Quero Verificar se Diretorio existe
IF fDirectoryExist(SAI_DIRETORIO) THEN
Info("Diretorio Existe")
ELSE
Info("Diretorio Nao Existe")
END

//Frances
SI fRépertoireExiste(SAI_DIRETORIO) ALORS
Info("Diretorio Existe")
SINON
Info("Diretorio Nao Existe")
FIN

//Blog Com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/03/curso-windev-arquivos-002-diretorio-ver.html
De matos AMARILDO
12 Mar. 2016