Re: Remove extra extention from a large number of files???

From: Mark L. Ferguson (marfer_mvpREMOVE_at_hotmail.com)
Date: 12/04/04


Date: Fri, 3 Dec 2004 19:02:42 -0600

David, I think you're a great problem solver, and I don't want to sound
critical, but that command has some 'recursive' thing that removes Both
extensions. (I really don't know how to stop that. I wrote the script as my
attempt at a workaround for that.)

What's really funny is the actual reason for the request. :)
('filename.jpg.dat' posted in all the '..binaries.. groups as an attempt to
avoid censorship)

-- 
Mark L. Ferguson (NOT an MS-MVP)
marfers notes for windows xp 
http://www.geocities.com/marfer_mvp/chatNotes.htm
.
"David Candy" <.> wrote in message 
news:ugPIxMX2EHA.1188@tk2msftngp13.phx.gbl...
For %A in (*,*) Do ren "%~A" "%~nA"
-- 
----------------------------------------------------------
http://www.uscricket.com
"Noozer" <dontspam@me.here> wrote in message 
news:ltHrd.396255$Pl.196159@pd7tw1no...
> Windows XP Pro SP1... Is there any way to remove the filename extension 
> from
> a large group of files?
>
> I have a whole bunch of files named "filename.bin.txt" in a directory and 
> I
> need them renamed to "filename.bin"... I can't seen to figure out the
> command line that would accomplish this.
>
> Help?
>
> 


Relevant Pages

  • Re: Error on while transfering large files to a network share
    ... When I tried to perform the same operation, but usign a Windows XP Pro ... the file from a shared folder on the same Windows 2003 system to ... David S. ... - Start a Command Prompt ...
    (microsoft.public.windows.server.general)
  • Re: Mac Java
    ... The "Apple" key is properly referred to in the Mac ... community as the Command key, and Command-Q is the common keyboard ... Windows applications. ... though I don't know what was different beyond extensions like ...
    (comp.lang.java.programmer)
  • Re: Need LESS Security with Screensaver Password
    ... command has a number. ... talking to windows, not the application. ... David Candy ... Perhaps a 98 screensaver may work as passwords> were handled completely differently. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Priority of application in Run
    ... You might have some files in the same directory that share the same file name but have different extensions. ... If you have two or more files in the command path that have the same file name and extension, Windows XP searches for the specified file name first in the current directory, and then it searches the directories in the command path in the order in which they are listed in PATH. ...
    (microsoft.public.windowsxp.general)
  • Re: Priority of application in Run
    ... different extensions ... If you have two or more files in the command path that have the same ... Windows XP searches for the specified file name ...
    (microsoft.public.windowsxp.general)