system() and quotes

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



Is this a discrepancy?:

 
  junk = "ipconfig > \""&current_dir()&"\\ipconfig.txt\"" 
  system(junk,0) 
 
  junk = "\""&current_dir()&"\\ipconfig.txt\"" 
  object ipreadfile = open(junk,"rb") 
 



ipreadfile is always -1 with the quotes, even tho the quotes are required in the system call.

useless

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

Search



Quick Links

User menu

Not signed in.

Misc Menu