TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ERIC SCHREIBER
from: SIMON HUGGINS
date: 1997-06-17 21:26:00
subject: Loading files with spaces in names

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.