File Extension

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

ok, i have an unasociated file, which is supposed to be a .RAR file but by
mistake i changed the file extension to .exe and now it doesnt let me change
it to any other extension. it doesnt even let me deleted !
so my question is: how can i change the file extension for this file again ?
 
From a command prompt;
assoc .rar=
to remove any file type association.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| ok, i have an unasociated file, which is supposed to be a .RAR file but by
| mistake i changed the file extension to .exe and now it doesnt let me
change
| it to any other extension. it doesnt even let me deleted !
| so my question is: how can i change the file extension for this file again
?
 
Start|Run|cmd.exe
then type or paste in
assoc .rar=
and hit enter.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| im sorry but can you explain that to me ? i dont know how to work with
| command prompt
 
Well if u just want to delete, start in safe mode and delete the file.
Or if u want to delete in normal mode make sure it's not open in "Processes"
of "Windows Task Manager"
 
This means it worked.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| after i hit enter it says : File association not found for extension .rar
 
OK whatever this means. What makes you think the file is executable? Please
be specific.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| in the folder where the file is...
 
Ok I mis-read. Just rename the file from *.exe back to *.rar
also
from a command prompt;
assoc .rar=winrar
to re-associate the file type.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| in the folder where the file is...
 
ok i had a file (thefile.001) that had numbers as an extension, i was
supposed to change the extension to .rar , but accidently changed it to .exe
and then i tried to change it back but it did not let me (i would rename it
thefile.RAR and when i hit enter it goes back to thefile.EXE)
 
i renamed it but it wont change back to .rar ...
is there a way that i can make a file unassociated ? maybe then it will let
me rename it to .rar ?
 
You don't want to unassociate EXE from EXEFILE

Try from a command prompt;
rename "pathtofile\xxx.exe" "pathtofile\xxx.rar"

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|i renamed it but it wont change back to .rar ...
| is there a way that i can make a file unassociated ? maybe then it will
let
| me rename it to .rar ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Changing file extension 6
renamed ext of 16GB truecrypt volume 2
No File Extensions 4
What are PREFETCH files for? 24
Can't delete file 3
File extensions 6
url file extension 2
Windows 7 I changed the extensions from exe to RAR archiver 2

Back
Top