From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Subject: Re: DOS program recording it's parameters and environment? Date: Wed, 18 Jan 2012 12:17:54 -0700 Message-ID: <20120118191754.GE765@drmemory.local> References: <4F165699.1080204@hanzlici.cz> <4F16E21B.9030804@gmail.com> <4F170571.1090604@hanzlici.cz> <20120118115554.40e5333c.theatre@sasktel.net> <4F17112A.8020600@hanzlici.cz> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <4F17112A.8020600@hanzlici.cz> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Frantisek Hanzlik Cc: linux-msdos@vger.kernel.org On Wed, Jan 18, 2012 at 07:36:26PM +0100, Frantisek Hanzlik wrote: > Frank Cox wrote: > > On Wed, 18 Jan 2012 18:46:25 +0100 > > Frantisek Hanzlik wrote: > > > >> For example: closed-source DOS program which i'm using start windows > >> program WINPROG.EXE with parameters "C:\path\file /A delay=5". > > > > Have you considered using "strings progname.exe" and see what you can find that > > way? > > There is violent that DOS program assemble parameters ("command line") for > program which will execute dynamically, "strings" in this case will not be > very usefull. Franta, I think that Frank is suggesting to use the "strings" not on WINPROG.EXE but on the closed-source DOS program that calls it. Wouldn't "strings" then show the command-lines which it is using? Maybe I'm way off base here.... Scott.