Welcome to WebmasterWorld Guest from 54.205.96.97

Forum Moderators: bill

Batch getting rid of " .bak "

any way to?

   
2:46 pm on Oct 19, 2007 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I dev on XP pro using UltraEdit
however the make does not impact because any editor creates a . bak file
but before uploading I like deleting those .bak

Do yo know of a better way than processing one at time
thanks

5:17 pm on Oct 19, 2007 (gmt 0)

WebmasterWorld Senior Member kaled is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I'm not sure if this is what you want, but at the command line you can type...

del *.bak

Naturally, you can create a .bat file that includes this line that can be launched with a click.

Kaled.

5:21 pm on Oct 19, 2007 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hi Kaled
this probably is it
but too wide of a proposition
it should target only a specified dir

could it be done

and if I may: Show me how to create a bat file
thanks

<edit>
I suppose you mean Windows com line?
</edit>

5:35 pm on Oct 19, 2007 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



From Windows Explorer, right-click on the topmost forlder you want to delete from, then select search. Search for *.bak, select them all, then click delete.
5:55 pm on Oct 19, 2007 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



AHHH thanks
maybe someday.... I will know how to use MS Wins :)
So obious, long time I was bugged by that stuff
why didn't I think about it!

A while ago I did read a thread about
careless webmasters, uploading even the .bak file
that would be a fine addition to that thread!

4:11 am on Oct 20, 2007 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



In UltraEdit goto
Advanced ¦ Configuration ¦ File Handling
and select the "No Backup" radio button.
10:24 am on Oct 20, 2007 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Even better!
works fine; since when tweaking a file I made a rule of thumbs of always saving the original and rename it _OLD
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month