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

-=> Francois Piette wrote to Eric Schreiber <=- 
ES> Anyone know how to handle accepting long file names on
ES> the command line?
FP> Use the double quotes around the file name. Internal commands works 
FP> that way. Try with the simple "CD" command to change to a long named 
FP> directory like this:
FP> CD "A long File named dir"
Unfortunately, I don't have control over the case I'm interested in. I want 
to be able to double click a long file name in, say, Explorer, and have that 
fed to my (associated) program. I'm looking for the trick I need to parse 
what Win95 feeds me - does Win95 put "quotes" around the filename?
In short, I want my program to uderstand a long filename fed to it, not 
create one to be fed to other programs.
EEAS
eric@kobayashi.com          http://www.kobayashi.com/maru/
--- Blue Wave/DOS v2.21
---------------
* Origin: The Aircrash Bureau Chicago 773-278-1195 33.6 (1:115/327)

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