Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting all files in a directory
Message
 
À
11/04/2003 18:18:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00776809
Message ID:
00776831
Vues:
16
Steve,

I have to be able to install the VFP 7 .exe on W98 and ME also.

>Allan,
>
>>
>>If I use erase, the file is not deleted. If I use adir() the file is in the resultant array, but again does not delete. If I try to remove the 'hidden' attribute with 'run attrib -h filename.ext', the attribute is not removed.
>>
>
>Are you able to remove the attribute from the command prompt? Also, you aren't by any chance putting "/n" in your run command are you? (this prevents it from working on my XP machine).
>
>>
>>Lastly, I am concerned about forcing the end user to install/enable Windows Script Hosting.
>>
>
>WSH is on W2K machines and later...even if they disable the relationship between a .VBS file and WSH, script commands should still work within a program.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform