RE: lingo-l filextra FileRunApp ms office : problems with spaces in file paths

2004-10-06 Thread Julian Weaver
sorry, wrong version went out a moment ago.

it turns out that C:\testdir\volume 1\test.doc

works when it's 

C:\testdir\volume~1\test.doc


Does anyone know a way to return dos style paths to director?

thanks

Julian


   I'm having problems with opening office files where 
   spaces appear in the file path. FileXtra does it's 
   job fine but the Office apps [word / excel, etc.] 
   report not finding the files after it launches. 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


RE: lingo-l filextra FileRunApp ms office : problems with spaces in file paths

2004-10-06 Thread Julian Weaver
Hi,

yep, that works in filextra too.

many thanks tim.

julian

   
   I think the reason is that when MS apps take the 
   filename it sees the space as the end of the 
   parameter, by passing the parameter inside 
   quotation marks, this is avoided.

  

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l filextra FileRunApp ms office : problems with spaces in file paths

2004-10-06 Thread Stephen Ingrum
Buddy again...
use baShortFileName. I use it in both the application and the file.
Stephen
Julian Weaver wrote the following on 10/6/2004 8:20 AM:
Hi,
yep, that works in filextra too.
many thanks tim.
julian
  
  I think the reason is that when MS apps take the 
  filename it sees the space as the end of the 
  parameter, by passing the parameter inside 
  quotation marks, this is avoided.

 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]
 

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


RE: lingo-l filextra FileRunApp ms office : problems with spaces in file paths

2004-10-06 Thread Marvin Friedrich
 
 Does anyone know a way to return dos style paths to director?

Buddy API's baShortFileName will do this.

Best,
Marvin


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]