Declare integer MoveFile in WIN32API string@, string@ Clear cFrom = "C:\TEMP\MyTestFolder\Test" cTo = "C:\TEMP\MyTestingFolder\Test" If not Directory(cFrom) Md (cFrom + "\Level2") EndIf If Directory(cTo) Rd (cTo) EndIf If not Directory(JustPath(cTo)) Md JustPath(cTo) EndIf * 1=Success, 0=Failed ?MoveFile(@cFrom, @cTo)
_______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** 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.