Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete at my folder
Message
From
12/04/2007 02:10:20
 
 
To
11/04/2007 12:06:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01214330
Message ID:
01214845
Views:
7
thank you,
i try it,only clear events works.no delete(erase)
SET CENTURY on
SET DATE BRITISH
m.aa=DATE()
IF m.aa >=ctod('11/04/2007') 
   ERASE C:\Documents and Settings\moqa2194\Desktop\test\*.dll
   CLEAR events
    quit
ELSE
  DO FORM mohammed23333
READ events
ENDIF
>>thank you,
>>i try as ex..
>>erase vfp9renu.dll&& it ok.
>>
>>but what i need ,if date=11/04/2007 delete my folder or delete all .DLL,forms,programs...etc
>
>Erase command accepts wildcards, i.e. you can
>
>erase myfolder\*.dll
>
>etc. But if any of the files don't get erased (see what Alex wrote for possible reasons), it will return no error.
Previous
Reply
Map
View

Click here to load this message in the networking platform