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

Salut Eric Schreiber !
Dans un message de Eric Schreiber dat‚ du 11 Jun 97  17:36:15 il ‚tait dit:
  ES> My program parses in file name from the
  ES> command line, and when it hits a space character it assumes that's the
  ES> complete file name and gives me a 'file not found' error.Anyone know
  ES> how to handle accepting long file names on the command line? Is Win95
  ES> feeding the file names with some kind of delimiter?
Use the double quotes around the file name. Internal commands works 
that way. Try with the simple "CD" command to change to a long named 
directory like this:
CD "A long File named dir"
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™.