Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening Word/Excel files from Javascript problem

Status
Not open for further replies.

dukeyukon

IS-IT--Management
Jul 6, 2004
2
US
I have a javascript function to open up a file based on its extension. If .txt, then open_prog("Notepad", "..absolute path.."). Or if .doc, then open_prog("Word", "..absolute path.."). Problem arises when the folder or file name has a space in it, then the Excel or Word programs won't be able to open the absolute path. Has anyone ever encountered this problem? Any solutions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top