X-Authentication-Warning: delorie.com: mail set sender to opendos-bounces using -f X-Recipient: opendos AT delorie DOT com From: "bob klahn" To: opendos AT delorie DOT com Subject: expand.exe Message-ID: Date: Wednesday, 28 Oct 2009 20:33:00 -0500 X-Mailer: Internet Rex gateway (2.29) X-Fido-From: bob klahn, 1:124/311 X-Fido-To: MIKE TRIPP MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Declude-Sender: ccoky AT iglou DOT com [67.131.57.16] X-Declude-Spoolname: 98443504.eml X-Declude-RefID: X-Note: Please send abuse reports to abuse AT fewpb DOT net X-Declude-Note: Scanned by Declude 4.4.0 "http://www.declude.com/x-note.htm" X-Declude-Scan: Outgoing Score [9] at 12:21:07 on 02 Jan 2010 X-Declude-Tests: BADHEADERS [8], DYNHELO [2] X-Country-Chain: UNITED STATES->destination X-Declude-Code: 8010000e X-Declude-Recipcount: 1 Organization: The Electric and Water Plant Board of the City of Frankfort Kentucky X-Identity: 67.131.57.16 | | delorie.com Reply-To: opendos AT delorie DOT com Originally to: MIKE TRIPP MT> Hello Kevin! MT> 27 Oct 09 15:32, Kevin Klement wrote to mark lewis: >>> for %%i in (*.??_) do echo %%i KK>> It decompresses the file in question, but then you have to enter the KK>> new file name. KK>> IE: KK>> It decompresses "mem.ex_" but then you have to type in the new name KK>> "mem.exe" MT> You need a fancier command processor or batch util to split MT> fully qualified names into their component parts for this MT> exercise...and without a bootable version of the DOS MT> available yet, it isnt' the best time to identify and learn MT> them. MT> When I crossed this bridge in the day, I redirected "DIR MT> *.??_" to a text file and used QEdit to duplicate the MT> filename list, insert "EXPAND" at the beginning, and modify MT> the extension for the target filename to make a BAT. Older MT> and wiser now, there are slicker and sleeker ways to MT> generate a one-liner...but they'd still take longer to MT> explain/nab utility/drop utility into a usable location MT> than the low-tech manual hack. MT> Hopefully this is an academic exercise, or are you still MT> trying to get your installation working? Do you remember Xtree? I use a 32 bit version called Ztree. Ztree.com to find it. Ztree has a batch builder function that can automate writing the batch file to do the conversion. If you like Dos you will like Ztree, and Xtree. BOB KLAHN bob DOT klahn AT sev DOT org http://home.toltbbs.com/bobklahn ... What a long, strange trip it's been! * Silver Xpress V4.5/P [Reg]