Thanks you very much.
The Code is working very well.
Ali Ihsan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jean Laeremans
Sent: Tuesday, May 08, 2007 6:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Renaming directory

On 5/8/07, aihsan <[EMAIL PROTECTED]> wrote:
> I have a directory which has so many files.
> I don't want to copy it.
> How can I rename that directory?
>
> Ali Ihsan

DECLARE INTEGER MoveFile IN WIN32API STRING source, STRING destination
? MoveFile ("d:\vfpdata\tester", "d:\vfpdata\testere"')
Success returns 1, failure 0. Note: For directories the trailing "\" appears
to be optional.

A+
jml


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to