Hi Steve
Are you using long filenames? Sometimes they can cause a problem with older
Windows apps such as Write which have been "upgraded" to Win9x.

If you really must have a long name, consider using the DOS 8.3 version of
the path and file when passing it to open.

e.g.
open "My Documents\Somefile.txt" with "write.exe"

will become

open "mydocu~1\somefi~1.txt" with "write.exe"

Regards,
Pranav
-----------------------------------------------------------
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine



<snip>
I need to open a text file, which is in the same folder as the projector,
in wordpad from a projector. I'm using

open the moviePath & "myfile.txt" with "C:\windows\write.exe"

The problem is - wordpad opens but I get an error message saying "file
My........ (etc.) not found." On the other hand the file opens Ok in
notepad, although the formatting is lost.
<snip>





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to