Ever since I updated to 10.2, I couldn't get the Finder to remember window settings any better than in 10.1, so I decided to zap all the .DS_Store files and start over.
I used the following script to accomplish this task. I saved the script as rmdsstore.sh (remember to make it executable), launched Terminal, quit the Finder and ran the script as root.
#!/bin/shAfter restarting the finder, window positions are remembered!
# rmdsstore.sh
# deletes all .DS_Store files on /
for x in `find / -name ".DS_Store" -print`
do
rm -f $x
done
#eof
Mac OS X Hints
http://hints.macworld.com/article.php?story=20021126063326604