ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Auto dump cache or avatars.dat? (Community)
Auto dump cache or avatars.dat? // Communitylady nighthawkAug 10, 2004, 8:53pm
Does anyone know if there's a program or bat file that will autodump the
cache, or more specifically the avatars.dat file? I suppose a bat file would do if someone can tell me how, would like to keep that handy on my desktop as I need to dump avatars.dat quite frequently! Thanks in advance... LNH -- eepAug 10, 2004, 10:08pm
Er, just keep a file browser open to the directory with avatars.dat selected and, when you want to delete it, alt-tab to the file browser and hit delete.
You'd have to go to the desktop (or to wherever you can see the shortcut to the batch file) or alt-tab to the deleter program anyway. [View Quote] mauzAug 11, 2004, 4:02pm
[View Quote]
How abouts a file called dumpit.bat or whatever, with command:
del "C:\Active Worlds\cache\art\my.world.path\avatars.dat" For the whole world art folder do a bat file with command: rmdir "C:\Active Worlds\cache\art\my.world.path" /s /q -- Mauz http://mauz.info lady nighthawkAug 11, 2004, 5:25pm
I'm sure a bat file needs more than one line? Can you give full examples of
each? Also, where should the bat files reside? Thanks Mauz... LNH -- [View Quote] bowenAug 11, 2004, 5:33pm
[View Quote]
They both are complete.
The first one deletes the file avatar.dat The second one deletes the folder my.world.mypath (which you should replace) so that your objects will refresh when you bounce off a closed world. It deletes the folder and everything in it without prompting you. Also I think it hides all the files it deletes from being displayed. Although you could do it with just at echo off. But it's been a long time since I've toyed with batch files so I might be off. :D mauzAug 11, 2004, 5:46pm
[View Quote]
Yup it is possible for a bat file to have only one line.
Place it on your desktop if you will, easier to find. Or under Windows folder and create a shortcut to it. -- Mauz http://mauz.info eepAug 11, 2004, 7:12pm
Note that it is only necessary to delete download.idx if you want to refresh the ENTIRE cache. If only just the models, then just delete model.idx. If only cell data, cell.idx, and if only elevation (terrain) data, elev.idx (last 2 in "art" cache directory).
[View Quote] lady nighthawkAug 11, 2004, 7:51pm
OK so what if I want to dump more than one av dat but not the whole cache or
art folders? There are a couple of worlds that change avs quite frequently and it would be nice to dump all at once. LNH -- [View Quote] mauzAug 12, 2004, 1:03pm
[View Quote]
To delete all avatars.dats you need a two line bat file:
cd "C:\Active Worlds\cache\art" del avatars.dat /s Or make a search for avatars.dat in Windows Explorer and delete them from Search Results window. That way they go to Recycle Bin first, if that feels safer. You can save the search from File menu for later use. Dunno, how do you usually delete files? -- Mauz http://mauz.info tengelAug 12, 2004, 2:16pm
if you change the 2 lines to:
cd "C:\Active Worlds\cache\art" del ..\avatars.dat /s it will delete all of the avatars.dat -- Tengel www.3D-Nordic.com [View Quote] lady nighthawkAug 12, 2004, 8:21pm
I usually painstakingly go through the *tree* til I get to the file or
folder I want to delete. It's a long tree LOL and a pita when folks change avs frequently. Thanks again! I sure hope AW takes care of this annoyance at some point. LNH -- [View Quote] |