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

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

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro Preview with Media Center
 
 

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

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

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

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro Preview with Media Center
 
 

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:

Name:  Capture.PNG
Views: 3
Size:  14.0 KB

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

Kari


My System SpecsSystem Spec
25 Nov 2012   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 for2: How do I unassociate a file type?
Thread Forum
File Extension Type - Unassociate Tutorials
Unassociate a program with extension Software
Solved Unassociate a file type General Discussion
Why can't I unassociate a file type? Software
How do I change a file's file type (not only file association)? General Discussion
Solved File type at the end of the name General Discussion
How to create a batch file that will move files based on the file type 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 05:52 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33