Rename/delete directory with long-name

Rename/delete directory with long-name

Postby Marc Vanzegbroeck » Wed Nov 01, 2006 2:22 pm

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

Re: Rename/delete directory with long-name

Postby Enrico Maria Giordano » Wed Nov 01, 2006 5:28 pm

Code: Select all  Expand view  RUN
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
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Marc Vanzegbroeck » Wed Nov 01, 2006 10:22 pm

Thanks Enrico!!

Marc
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 13 guests