AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos externos
  • Changing the current directory
fCurrentDir (Example)
Changing the current directory
The following code is used to modify the current directory. The path of the new current directory is entered by the user in an edit control (EDT_DirectoryPath).
// -- Click code on BTN_ModifyCurrentDir
// Declare the variable
ResCurrentDir is string
// Change the current directory
ResCurrentDir = fCurrentDir(EDT_DirectoryPath)
// Error?
IF ResCurrentDir <> "" THEN
Info("The current directory is now: " + ResCurrentDir)
ELSE
// Display the error message
Error(ErrorInfo(errMessage))
END
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 23/08/2022

Señalar un error o enviar una sugerencia | Ayuda local