escaping special characters in file name...

dear, I would like to rename files in a dir to another format, so I write a bash shell script to handle it. But my problem now is how to handle files having special characters like spaces, (, ):

"a b c (d).doc"

It seems that I need to escape those characters before applying the "mv" command. Could some one suggest a way to do so?

Thanks a lot!

i have solved the problem, it seems i only need to double-quote the $f in mv is ok..
thx!