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

Hello Eric!
Sunday June 22 1997, Eric Schreiber writes to Carl Waring:
 ES> It's since ocured to me to whip together a prog that will display to
 ES> me the entire command line, so I can see exactly what Win95 is
 ES> sending. Perhaps then I'll figure it out.
type PShortString = ^ShortString;     { I don't know if Delphi has this 
defined already --- Replace ShortString with String if you're running Delphi 
_1_ }
var CmdLine : PAnsiString;
begin
CmdLine:=Ptr(PrefixSeg,$80);    { This is a pointer to the whole command line 
}
end;
This is the official, down-to-the-bone method of getting the whole command 
line under DOS...
My two sources do not agree on whether this works under Windows as well, and 
I have no way to test it since my Windows is _very_ unstable.
Lars
--- GoldED/386 2.50 UNREG
---------------
* Origin: Yet another T.P.I. Point (2:238/64.46)

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