soph Posted May 28, 2006 Share Posted May 28, 2006 I want to rename a file but Windows says the file already exists, but I look around and there is no such file. I would like to rename file: on.php to con.php If I rename the file on.php to son.php, there is no problem, only when I try to rename to con.php... Link to comment Share on other sites More sharing options...
Administrator Tarun Posted May 28, 2006 Administrator Share Posted May 28, 2006 Can you see the file there in your directory? Link to comment Share on other sites More sharing options...
soph Posted May 28, 2006 Author Share Posted May 28, 2006 No, I can't see the file in the directory. I already set the Folder Options to show all hidden files including the system files. I can move on.php to any other folder but the result is the same. For example, currently the file is in "my website" folder, I move it to "testing" folder, it is okay..and then when I try to rename the file from "on.php" to "con.php", Windows does not allow me...no matter in which folder I move the file, the result is the same, it does not allow me to rename the file to "con.php". Do you think I have corrupted harddisk or maybe virus/trojan? Link to comment Share on other sites More sharing options...
SenutyEnool Posted May 28, 2006 Share Posted May 28, 2006 G'day Soph, might want to do a global search for con.php, see if the file really does already exist somewhere. If this is the case and your reasonably sure that the file isn't being used rename it to con.bak, that way you can revert it later if it is required. Cheers :P Link to comment Share on other sites More sharing options...
MrT Posted May 28, 2006 Share Posted May 28, 2006 con is a reserved filename in Windows... Link to comment Share on other sites More sharing options...
soph Posted May 31, 2006 Author Share Posted May 31, 2006 Thank you for all the replies, and yes, thank you Mr.T, con is a reserved filename so I could not rename any file using that name.. according to google search, con = console ... :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.