Share this page 

Rename a fileTag(s): Powerscript


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"