홈 · 개발 참고자료

개발 참고자료

[파워빌더] Rename a file

작성자
관리자
작성일
2016-10-22
조회
11943
분류
파워빌더
Simply "move" it under a new name with the function[local function declaration]
FUNCTION BOOLEAN MoveFileA(STRING oldfile, STRING newfile) &
LIBRARY "KERNEL32.DLL"

Remember that PB10.5 is Unicode so you need to add the ;ANSI suffix to the declaration,[local function declaration]
FUNCTION BOOLEAN MoveFileA(STRING oldfile, STRING newfile) &
LIBRARY "KERNEL32.DLL" ALIAS FOR "MoveFileA;ansi"