X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "one2001boy AT yahoo DOT com" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: tar.exe problem References: <2thjecF1urnn1U1 AT uni-berlin DOT de> <48Fdd.16708$nj DOT 14914 AT newssvr13 DOT news DOT prodigy DOT com> <01c4b72d$Blat.v2.2.2$08f4f8a0 AT zahav DOT net DOT il> <01c4b8fa$Blat.v2.2.2$4e0b1360 AT zahav DOT net DOT il> In-Reply-To: <01c4b8fa$Blat.v2.2.2$4e0b1360@zahav.net.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 16 Message-ID: NNTP-Posting-Host: 69.104.56.233 X-Complaints-To: abuse AT prodigy DOT net X-Trace: newssvr13.news.prodigy.com 1098601802 ST000 69.104.56.233 (Sun, 24 Oct 2004 03:10:02 EDT) NNTP-Posting-Date: Sun, 24 Oct 2004 03:10:02 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: FKPO AT SFGVBRUR^QSV AT CBNWX@RJ_XPDLMN AT GZ_GYO^ZWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ AT CD^HKANYVW AT RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A AT CARQVXDSDA^M]@DRVUM AT RBM Date: Sun, 24 Oct 2004 07:10:02 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: >>From: Brian Inglis >>Date: Fri, 22 Oct 2004 09:00:45 GMT >> >>Some Unix shells keep the last command name or line in env var $_: do >>any of the Windows shells do anything similar? > > > You probably mean the CMDLINE environment variable. However, I'm > afraid that variable is only updated when a command line is > successfully launched. In this case, cmd.exe fails, so it will > probably not update the variable's value. (And it looks like cmd.exe > does not support CMDLINE anyway :-() Doskey is run by defabult in cmd.exe, I think you can use arrow key to get the last command name.