Ampersand in filename

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu