Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I delete a file with a leading space?
Message
 
 
À
19/08/1999 17:02:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00255531
Message ID:
00255543
Vues:
24
>I have a situation where there are some files created that have a leading space, eg. " JUNK.DBF". Is there a way to delete this file programmaticly using VFP5? Delete file, !del, and RENAME seem to have no affect. I am able to delete them with Explorer but I don't want the user to have to deal with it.
>
>Thanks!

I would like to know how someone was able to start a file name with a space. You can probably enclose the name in quotes to do it -- erase " junk.dbf"

Can you do a X = Getfile(), then do a ? asc(left(X,1)) to see what it is?
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform