How do I change a file with the extension of .txt to .dll or Windows Shell extension?

I changed a file from a .truststore which opens with windows shell to a .txt. I need to change it back.
Leah WhitneyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
I am assuming that you are talking about File Associated program. If so, use the following link below to change it back.
http://www.thewindowsclub.com/change-file-associations-windows


Will.
Leah WhitneyAuthor Commented:
This is on server 2008 r2. I have a file that should be opening with Windows Shell how to I re-associate it?
Will SzymkowskiSenior Solution ArchitectCommented:
Windows 7 and 2008R2 are built on the same kernel so it will be the same steps. also hold shift+right click the file and select Open With > choose default program > select powershell.

Will.
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Leah WhitneyAuthor Commented:
Windows Powershell is not showing up but its clearly installed. Also when I browse for it search can't pick it up.
Will SzymkowskiSenior Solution ArchitectCommented:
You can press the browse button and navigate to the default location which is below...
C:\Windows\System32\WindowsPowerShell\v1.0\
Powershell.exe

Will.
David Johnson, CD, MVPRetiredCommented:
windows powershell is located in
C:\Windows\System32\WindowsPowerShell\v1.0\
Leah WhitneyAuthor Commented:
Okay I was able to associate with powershell but I don't believe that is the same as Windows Shell. I have attached a screen shot of another file that I'd like the .truststore to be associated with.
Capture.PNG
Leah WhitneyAuthor Commented:
I don't believe the file was ever really associated. As long as the file can be manipulated, I think that is all that matters. Unless you have any insight on that statement I will consider this solved.
arnoldCommented:
Change it to .bat

Not clear what your txt file has to judge whether the .bat is an appropriate extention to use.
Leah WhitneyAuthor Commented:
This was my solution;

Let .<ext> be the extension you want to deassociate.
With a registry editor (e.g. regedit.exe),
1. go to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\
remove the subtree .<ext>
2. go to
HKEY_CLASSES_ROOT\
remove the subtree .<ext>
remove the subtree <ext>_auto_file

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Leah WhitneyAuthor Commented:
Because it worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.