Message-ID: <3D44DEBB.D9A1FFB@yahoo.com> Date: Sun, 28 Jul 2002 23:20:43 -0700 From: ByrdKernel X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: help: rename problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.39.92.69 X-Trace: corp.newsgroups.com 1027922700 65.39.92.69 (29 Jul 2002 01:05:00 -0500) Lines: 21 X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com for %f in (*.log) do ren %f.log s_%f.log A bit off-topic, but this is an easy answer. Hope this helps! :) ByrdKernel (Mike) jin wrote: > I need to rename couple thousand file from original name (e.g.. abcde.log, > 12345.log) to s_name (e.g.. s_abcde.log, s_12345.log). > I try use dos rename as: rename *.* s_*.* > but it change file name from abcde.log to s_cde.log, not what I wanted (I > want s_abcde.log). > Can any one help me please. I use window ME > My e-mail is: jin AT greatpost DOT com -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----