>I'd like to rename the existing files in a directory to "filename.txt" The
>files have no extensions, and have names like:
>B0724 B0834 B1236 B1356 B1370
>A0012 A0036 A0050 A0120 A0302 A0310 rename1.pl
Why do you need Perl here?
If you want to change extensions of all files to .txt, use this command:
C:\>REN *.* *.txt
If you want to change extensions of all files with no extension to .txt, use
this command:
C:\>REN *. *.txt
(notice there are four spaces after the first period - three to signify no
extension to DOS and one more to separate arguments to REN command)
Syarzhuk
Be healthy, stay wealthy...
Visit Belarusan Music Source - http://www.belmusic.net
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com