Changing Image Directory?

Okay so I import a model from a .obj into blender. but all the maps say they are located at ::maps: or something. How can I batch change all the directories to be something else thats valid? so I do not have to manually change each of the 500 maps?