Re: Ampersand in filename
- Posted by ne1uno Dec 30, 2010
- 1178 views
dcole said...
If an ampersand is used in the fileName the file will not open.
How can I fix this.
Change the file name? How if not manually in windows?
Example:
sequence fileName FileName="e:\\stocks\\web\\Scottrade - Quotes & Research.htm" fn=open(FileName,"r") ?fn
gives fn=-1
FileName="e:\\stocks\\web\\Scottrade - Quotes + Research.htm" fn=open(FileName,"r") ?fn
gives fn=3 (works ok)
I'm using Ver. 3 Don Cole
if you are trying to open for reading an existing file, try the 8.3 name "e:\\stocks\\web\\SCOTTR~1.HTM"