Hi Eric,
On Wednesday, 11 June 1997 at 17:36:15, Eric Schreiber confused
me talking about: Loading files with spaces in names to All
ES> However, since the ported version is recognized as a
ES> 32-bit app, Win95 is sending it the unadulterated long file
ES> names when a file is double clicked in Explorer. My program
ES> parses in file name from the command line, and when it hits
ES> a space character it assumes that's the complete file name
ES> and gives me a 'file not found' error.
ES> Anyone know how to handle accepting long file names on
ES> the command line? Is Win95 feeding the file names with some
ES> kind of delimiter?
Can you change the registry so that it reads:
shell
+---open
+----command default myapp "%1"
instead of myapp %1 and then use " as the delimiter?
I think that's what other apps do.
bfn,
si.
Fido: 2:440/7.15 *** SEE IT. LIVE IT. BE IT. TREK_RANKS_UK ***
Internet: huggie@dial.pipex.com
Web: http://ds.dial.pipex.com/huggie
.!. [COMMENT]"Bother," said Pooh...
--- Terminate 4.00/Pro
---------------
* Origin: Fou, con et anglais! (2:440/7.15)
|