delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to opendos-bounces using -f |
X-Recipient: | opendos AT delorie DOT com |
From: | "Mike Tripp" <ccoky AT iglou DOT com> |
To: | opendos AT delorie DOT com |
Subject: | expand.exe |
Message-ID: | <MSGID_1=3a382=2f61_4ae7f9b4@fidonet.org> |
Date: | Wednesday, 28 Oct 2009 07:48:24 -500 |
X-Mailer: | Internet Rex gateway (2.29) |
In-Reply-To: | <MSGID_1=3a342=2f77_4ae71288@fidonet.org> |
X-Fido-From: | Mike Tripp, 1:382/61 |
X-Fido-To: | Kevin Klement |
MIME-Version: | 1.0 |
X-Declude-Sender: | ccoky AT iglou DOT com [67.131.57.16] |
X-Declude-Spoolname: | 98443508.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 [6] at 12:21:10 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 |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | opendos AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Originally to: Kevin Klement Hello Kevin! 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" You need a fancier command processor or batch util to split fully qualified names into their component parts for this exercise...and without a bootable version of the DOS available yet, it isnt' the best time to identify and learn them.<g> When I crossed this bridge in the day, I redirected "DIR *.??_" to a text file and used QEdit to duplicate the filename list, insert "EXPAND" at the beginning, and modify the extension for the target filename to make a BAT. Older and wiser now, there are slicker and sleeker ways to generate a one-liner...but they'd still take longer to explain/nab utility/drop utility into a usable location than the low-tech manual hack.<g> Hopefully this is an academic exercise, or are you still trying to get your installation working? .\\ike
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |