Rename/delete directory with long-name

Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Rename/delete directory with long-name

Post 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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Rename/delete directory with long-name

Post 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
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Post by Marc Vanzegbroeck »

Thanks Enrico!!

Marc
Post Reply