Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHR(0) in filename
Message
From
10/06/2011 15:40:38
 
 
To
10/06/2011 15:23:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01514058
Message ID:
01514061
Views:
104
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform