Page 1 of 1

Rename/delete directory with long-name

Posted: Wed Nov 01, 2006 2:22 pm
by Marc Vanzegbroeck
Hi,

Is there also a 32 bit function-call to rename a directory with a long-name?
Is there also one to delete a directory with long-name?
Enrico?


Thanks,
Marc

Re: Rename/delete directory with long-name

Posted: Wed Nov 01, 2006 5:28 pm
by Enrico Maria Giordano

Code: Select all

DLL32 FUNCTION MOVEFILE( cExistingFileName AS LPSTR, cNewFileName AS LPSTR ) AS BOOL;
      PASCAL FROM "MoveFileA" LIB "kernel32.dll"

DLL32 FUNCTION REMOVEDIR( cPathName AS LPSTR ) AS BOOL;
      PASCAL FROM "RemoveDirectoryA" LIB "kernel32.dll"
EMG

Posted: Wed Nov 01, 2006 10:22 pm
by Marc Vanzegbroeck
Thanks Enrico!!

Marc