Connecting Tech Pros Worldwide Forums | Help | Site Map

Renaming files in a directory

rockocubs
Guest
 
Posts: n/a
#1: Jul 23 '05
I need to rename files in a drirectory that have no extension type to .txt
extenstion type.


McKirahan
Guest
 
Posts: n/a
#2: Jul 23 '05

re: Renaming files in a directory


"rockocubs" <rphipps@nospam.indy.rr.com> wrote in message
news:c8e47fc468cafe6e43218e0ff02e4d29@localhost.ta lkaboutprogramming.com...[color=blue]
> I need to rename files in a drirectory that have no extension type to .txt
> extenstion type.
>[/color]

from the command line:
[color=blue]
> cd \your_directory
> ren *. *.txt[/color]


chotiwallah
Guest
 
Posts: n/a
#3: Jul 23 '05

re: Renaming files in a directory


using javascript? not possible. imagine some website script could
rename files on your pc (which is where the javascript is executed).

micha

Closed Thread


Similar JavaScript / Ajax / DHTML bytes