rename all file with blank in directory from home root , please help me

view story

http://www.unix.com – hi , :wall: I've in directory home user 3 file with blank space in name file, I would like erase the all character that no have alphanum more dot in namefile from home root , below the script. If I execute the shell script from directory where stay it's execute well done.But I would like execute the script from home root , like so: /var/www/html/regia0/temp/f/./ren in this case after execute the sh script erase all file in /var/www/html/regia0/temp/f/ and no rename the files, below the script work well only if I execute from the same directory where is present the hidden script. Please Hel (HowTos)