홈 · 개발 참고자료

개발 참고자료

[파워빌더] Create or remove a directory

작성자
관리자
작성일
2016-10-22
조회
9467
분류
파워빌더
Declare these functions :FUNCTION boolean CreateDirectoryA(ref string path, long attr)
LIBRARY "kernel32.dll"
FUNCTION boolean RemoveDirectoryA( ref string path )
LIBRARY "KERNEL32.DLL"
and thenCreateDirectoryA( "C:\TempDir", 0 ) // always 0
RemoveDirectoryA( "c:\tempdir" )
You can't create more than one directory at a time. To create c:\TempDir\t1, you create \TempDir and then \TempDir\t1.