Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CHR(0) in filename
Message
De
10/06/2011 15:40:38
 
 
À
10/06/2011 15:23:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01514058
Message ID:
01514061
Vues:
106
This message has been marked as the solution to the initial question of the thread.
>Has anyone been able to put a CHR(0) in a filename?
>
>I tried this but only the first one and the last one were created. The second did not create a file but did not give an error.
>
>
>STRTOFILE("a","d:\a"+chr(65)+".txt")
>STRTOFILE("a","d:\a"+chr(0)+".txt")
>STRTOFILE("a","d:\a"+chr(66)+".txt")
>
From http://en.wikipedia.org/wiki/Filename:

"Microsoft Windows: Windows kernel forbids the use of characters in range 1-31 (i.e., 0x01-0x1F) and characters " * : < > ? \ / |."
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform