Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I unassociate a file type?

25 Nov 2012   #1
Neutrino123

Windows 7 Home Premium 64bit
 
 
How do I unassociate a file type?

Hello, I am having trouble with running batch files. When I try to run them they open a cmd window, but the commands are no executed. I am not the administrator on my computer so I can't edit the the registry, and the IT department is refusing to edit the registries themselves. So does anyone have a different way to unassociate the bat extension


My System SpecsSystem Spec
.
25 Nov 2012   #2
Kari

Microsoft Community Contributor Award Recipient

 

Hi Neutrino, welcome to the Seven Forums.

I have some difficulties to understand your question? The batch file extension .bat is automatically associated with command prompt (cmd.exe) because all commands in a batch file are run from command prompt. That's the function of a batch file, run Windows (DOS) commands from command line.

"Unassociating" .bat extension means your batch (of commands) can not be run.

A totally different thing is that your IT department of course has reasons why you as a user are not allowed to perform administrative tasks on your company owned work PC, and why they refuse to do the changes individual users want to. Here at the Seven Forums we do not like to assist in "cracking" the protection measures an enterprise IT department has put on the computers owned by that enterprise.

Kari
My System SpecsSystem Spec
25 Nov 2012   #3
MilesAhead

Windows 7 32 bit
 
 

Welcome to Windows Seven Forums.

To avoid a lot of Q & A about your hardware and OS configuration, please click on this link to
Edit System Specs

Filling this out, at least partially, will save a lot of time. Another advantage is when posting a new problem, the person answering can just click the My System Specs link in the bottom of your post. No need to search for the information.

If you have multiple systems just indicate that in the System Specs so that we know why many of the fields are blank.

==================================================

Why not post a .bat file you are trying to run? Pick the simplest one. Not some 250 line batch file that calls 12 other batch files, if you know what I mean.

Or, put another way, if you type a command that's used in a batch, into the command prompt manually, does it work then? "Does not execute" is kind of vague. Is there an error message?
My System SpecsSystem Spec
.

25 Nov 2012   #4
bigmck

Windows 7 Home Premium 32-Bit - Build 7600 SP1
 
 

Quote   Quote: Originally Posted by Neutrino123 View Post
Hello, I am having trouble with running batch files. When I try to run them they open a cmd window, but the commands are no executed. I am not the administrator on my computer so I can't edit the the registry, and the IT department is refusing to edit the registries themselves. So does anyone have a different way to unassociate the bat extension
Try this Unassociate File Extention Type - Vista Forums
My System SpecsSystem Spec
25 Nov 2012   #5
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by bigmck View Post
Could you please explain how does this help OP to run batch files? Only thing that happens after unassociating when a batch file is run is this:

How do I unassociate a file type?-capture.png

If OP wants / needs to run batch files they should remain associated with cmd.exe.

Kari


My System SpecsSystem Spec
25 Nov 2012   #6
Brink

64-bit Windows 10 Pro
 
 

As Kari posted above, we cannot help the OP with this since it in violation of the company's policy.

Please see: Forum Rules
My System SpecsSystem Spec
Closed Thread

 How do I unassociate a file type?




Thread Tools




Similar help and support threads
Thread Forum
Change File Associaton to Unknown File Type for .sdf file
I am using Windows 10 64 bit.At first the .sdf was not associated to any file type association like notepad etc.It was coming look for an app in store.I accidentally clicked on a file type association now can't find a solution to change it back to the default one(i.e pick an app from store) and...
Performance & Maintenance
File Extension Type - Unassociate
How to Unassociate File Extension Types in Vista, Windows 7, and Windows 8 This tutorial will show you how to unassociate a file extension to no longer have a default program to open it with afterwards in Vista, Windows 7, and Windows 8. You must be logged in as an administrator to be able...
Tutorials
Unassociate a file type
When my husband tries to download an attachment from his e-mail in yahoo, it opens in windows media player. This does not happen on my side of the computer. I was told I need to unassociate a file type. How do I do this? Thanks so much for your help!:(
General Discussion
Why can't I unassociate a file type?
Hi all, I accidentally associated .mpp with the wrong program. After some searching, I found (allegedly) that if I open an elevated command prompt (yes, I made sure to open as administrator) and type assoc .mpp= this should solve my problem. It does not. I have tried the command with a...
Software
How to create a batch file that will move files based on the file type
How to create a batch file that will move files based on the file type? My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:25.
Twitter Facebook Google+