This question already has an answer here:
Inadvertently, I have created a file named
g:\filename.csv on Windows XP through a Python script.
g:\filename.csv is the filename. Actually it is saved on the F: drive.
I can't rename it using command prompt (
ren oldfilename newfilename) or using F2 in an Explorer window. It says "can't read from drive" - Windows thinks the file is on the G: drive.
Is there any way to rename it?