Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete at my folder
Message
De
12/04/2007 02:10:20
 
 
À
11/04/2007 12:06:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01214330
Message ID:
01214845
Vues:
8
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform