Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
File extension Rename
Name: Genocide (by Greaper6) Date: January 16, 2008 at 13:55:13 Pacific OS: WinXP MC E CPU/Ram: ... Product: Dell
Comment:
I have about 3000+ HTML files that have FB! extensions. (EX: BW16.HTM.fb!)
I need something to remove the .fb! from ALL 3000+ files, is there anyway I can do this with a few clicks?
Name: IVO Date: January 16, 2008 at 14:09:11 Pacific
Reply:
At prompt type
cd \Folder_Name
where Folder_Name is the path\name of the folder where your files are stored, then
for %j in (*.fb!) do ren %j %~nj
and you are done.
0
Response Number 2
Name: tonysathre Date: January 16, 2008 at 14:14:33 Pacific
Reply:
@echo off for /f "tokens=* delims=." %%a in ('dir /b *.fb!') do ( rename %%a %%~na )
"Foolproof systems don't take into account the ingenuity of fools."
0
Response Number 3
Name: klint Date: January 16, 2008 at 14:16:08 Pacific
Reply:
Actually it's even easier than that! Just type:
ren *.fb! *.
... and that's it!
This is one of the rare occasions where Windows command line is easier to use than Unix shells.
0
Response Number 4
Name: Genocide (by Greaper6) Date: January 16, 2008 at 14:26:11 Pacific
Reply:
Ok, I have these *.FB! in like in a few differ folders, and those folders are in One folder, which can I do and it take care of that in ALL the folders?
0
Response Number 5
Name: klint Date: January 16, 2008 at 15:12:10 Pacific
Reply:
Go to the folder that contains all the other subfolders, and type:
for /r %f in (.) do ren "%f\*.fb!" *.
0
Response Number 6
Name: Mechanix2Go Date: January 17, 2008 at 08:48:22 Pacific
Reply:
well... almost for /r %f in (*.txt) do @ren "%f" "%~Nf."
===================================== If at first you don't succeed, you're about average.
Summary: hi, i am having difficulties trying to save a graph output from Xgraph (on cygwin). When trying to save, HardCopy the available formats are: output device: HPGL, Postscript, Idraw, Tgif. When i save ...
Summary: I need a batch file to rename the contents of a directory and then move the file to another directory (archive). The format of the files are 123456.edi and they need to be TCOL123456.edi. I've no expe...
Summary: hell, id like to write a batch file that would merge reg files which would write to the classes root hive, and it would setup for me to add new file extensions, and associate them to my apps. do i do ...