Create or Remove a Directory In PowerBuilder
External Function Declaration
1 2 3 | //[External Function Declaration] Function Boolean CreateDirectoryA(Ref String path, Long attr) Library "kernel32.dll" Function Boolean RemoveDirectoryA( Ref String path ) Library "kernel32.dll" |
PowerScript
1 2 3 | //[PowerScript] CreateDirectoryA( "C:\TempDir", 0 ) // always 0 RemoveDirectoryA( "C:\TempDir" ) |
Good Luck!