TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ERIC SCHREIBER
from: FRANCOIS PIETTE
date: 1997-06-24 20:00:00
subject: Loading files with spaces in names

Salut Eric Schreiber !
Dans un message de Eric Schreiber dat‚ du 19 Jun 97  08:06:31 il ‚tait dit:
  ES>> Anyone know how to handle accepting long file names on the
  ES> command line?
  FP> Use the double quotes around the file name. 
  ES> Unfortunately,
  ES> I don't have control over the case I'm interested in. I want to be
  ES> able to double click a long file name in, say, Explorer, and have that
  ES> fed to my (associated) program. I'm looking for the trick I need to
  ES> parse what Win95 feeds me - does Win95 put "quotes" around the
  ES> filename ? In short, I want my program to uderstand a long filename fed
  ES> to it, not create one to be fed to other
  ES> programs.
Windows 95 does what you instructed him to do !
When you associated you program with a file extension, in the explorer 
option dialog bow, you should put yourself the quotes around the file 
name.
Amiti‚s,
{-Francois Piette-}
francois.piette@ping.be
http://www.rtfm.be/fpiette
--- SvFido 1.32
---------------
* Origin: OverByte BBS (Embourg-Belgium) 32-4-3651395 VFC/V34+ (2:293/2202)

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™.