-=> 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)
|