1. Ampersand in filename
- Posted by dcole Dec 30, 2010
- 1184 views
Hello everybody,
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
2. Re: Ampersand in filename
- Posted by ne1uno Dec 30, 2010
- 1176 views
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"
3. Re: Ampersand in filename
- Posted by petelomax Dec 30, 2010
- 1168 views
It works fine here. What version of Windows? (XP here) Are you sure you are not trying to open "Quotes & Research.htm" when the actual filename is "Quotes + Research.htm" or "Quotes&Research.htm" or "Quotes & Research.htm"?
Pete