Home » Infrastructure » Windows » Rename Files with more than one dot in the name (Windows XP)
Rename Files with more than one dot in the name [message #434288] Tue, 08 December 2009 06:42 Go to next message
janetwilson
Messages: 46
Registered: June 2006
Location: St.Louis
Member
Hi All,

I have a question regarding the rename command.

I have to rename files ending with .html.en to .html

Commands tried

Dir

Directory of D:\Work\testfolder

12/08/2009 05:58 PM <DIR> .
12/08/2009 05:58 PM <DIR> ..
12/08/2009 05:56 PM 0 1.html.en
12/08/2009 05:56 PM 0 2.html.en
12/08/2009 05:56 PM 0 3.html.en
12/08/2009 05:56 PM 0 4.html.en
12/08/2009 05:56 PM 0 5.html.en
12/08/2009 05:56 PM 0 6.html.en
12/08/2009 05:56 PM 0 Copy of 1.html
12/08/2009 05:56 PM 0 Copy of 2.html
12/08/2009 05:56 PM 0 Copy of 3.html
12/08/2009 05:56 PM 0 Copy of 4.html
12/08/2009 05:56 PM 0 Copy of 5.html
12/08/2009 05:56 PM 0 Copy of 6.html
12 File(s) 0 bytes
2 Dir(s) 18,346,868,736 bytes free


ren *.html.en *.html

dir
Directory of D:\Work\testfolder

12/08/2009 06:02 PM <DIR> .
12/08/2009 06:02 PM <DIR> ..
12/08/2009 05:56 PM 0 1.html.html
12/08/2009 05:56 PM 0 2.html.html
12/08/2009 05:56 PM 0 3.html.html
12/08/2009 05:56 PM 0 4.html.html
12/08/2009 05:56 PM 0 5.html.html
12/08/2009 05:56 PM 0 6.html.html
12/08/2009 05:56 PM 0 Copy of 1.html
12/08/2009 05:56 PM 0 Copy of 2.html
12/08/2009 05:56 PM 0 Copy of 3.html
12/08/2009 05:56 PM 0 Copy of 4.html
12/08/2009 05:56 PM 0 Copy of 5.html
12/08/2009 05:56 PM 0 Copy of 6.html
12 File(s) 0 bytes
2 Dir(s) 18,346,868,736 bytes free


Any suggestions to rename *.html.en files with *.html extension.

Thanks
Janet Wilson
Re: Rename Files with more than one dot in the name [message #434294 is a reply to message #434288] Tue, 08 December 2009 07:12 Go to previous message
Littlefoot
Messages: 18833
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try with
ren *.html.en *.


Though, as this can hardly be considered an Oracle related question, topic will be closed for further discussion. If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).
Previous Topic: Oracle service start?
Next Topic: import the data either in excel or csv file more than 65000 records
Goto Forum:
  


Current Time: Sun Apr 20 15:07:36 CDT 2014

Total time taken to generate the page: 0.08002 seconds