XP HOME file association problem

  • Thread starter Thread starter Andrew Steyn
  • Start date Start date
A

Andrew Steyn

Right heres the problem.

a user was trying to delete an EXE and it wouldnt delete.
so he renamed it a .dwg (AutoCAD) file and deleted it.

now all EXE are associated with autocad and starting any
exe will run autocad.

what i have tried: 1) reassociation of file through
explorer, but the files are pointing to the right windows
apps.

2) reassociation through dos prompt, but this couldnt be
done as running cmd through the start/run only starts
autocad. (same as trying to run dos from a booting a XP
disk on starting pc.)

3) reinstalling windows couldnt be achieved as running the
disk on starting up also starts AutoCAD.

HELP PLS!!!!!

Cheers
Andy
 
EXE open with themselves. So it should be opening with %1 (which is replaced by the file being double clicked).

Rename exe to com to start them now. Windows ignores extensions on programs and looks into the file to see. Renaming a file would not have caused this. The user did something else.

So rename regedit.exe to regedit.com, type regedit.com in Start Run, goto HKEY_CLASSES_ROOT\exefile\shell\open\command and enter "%1" %* (%* is any parameters passed).

Explorer builds a command line from the entries in the registry, then executes this command line.
 

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


Back
Top