homepage Welcome to WebmasterWorld Guest from 174.129.80.166
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Microsoft / (deprecated) Microsoft Windows OS (XP/NT/Vista)
Forum Library, Charter, Moderators: bill

(deprecated) Microsoft Windows OS (XP/NT/Vista) Forum

    
Batch getting rid of " .bak "
any way to?
henry0




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

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

 

kaled




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

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.

henry0




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

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>

LifeinAsia




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

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.

henry0




msg:3482142
 5:55 pm on Oct 19, 2007 (gmt 0)

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!

bill




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

In UltraEdit goto
Advanced ¦ Configuration ¦ File Handling and select the "No Backup" radio button.
henry0




msg:3482637
 10:24 am on Oct 20, 2007 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / (deprecated) Microsoft Windows OS (XP/NT/Vista)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved