Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I delete a file with a leading space?
Message
De
20/08/1999 11:48:32
 
 
À
20/08/1999 11:40:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00255531
Message ID:
00255896
Vues:
23
It won't work in the following scenario:
The file "C:\ junk.dbf" exist on the disk.
oFile = fCreate("C:\ junk2.dbf")
fClose (ofile)
x1='!del c:\junk~1.txt'
&x1

It will delete "C:\ junk.dbf".

>This works for me:
>oFile = fCreate("C:\ junk.dbf")
>fClose (ofile)
>
>x1='!del c:\junk~1.txt'
>&x1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform