Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Can't change file association for DOS batch files

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 30-03-2008
Member
 
Join Date: Aug 2006
Posts: 173
Can't change file association for DOS batch files

I have installed Windows XP. Just recently I went into the file associations page of Explorer / Tools and changed the file association setting for editing batch files from the default Notepad to my favored editor EditPad Pro. Today when I tried to run a batch file, instead of if running, it opened in EditPad Pro. I was thinking that it might be easy to change the setting for running such a file, but when I went into the file association page, ms dos batch files were not found anywhere? Can anyone tell me how to solve this? Thanks.

Reply With Quote
  #2  
Old 30-03-2008
Member
 
Join Date: Nov 2005
Posts: 930
RE: Can't change file association for DOS batch files

You can go to Start and then Rum and then type cmd. In cmd type Sfc /Scannow and Install xp cd and then exit the info page. Once its through, then remove cd and then type:CHKDSK C: /F and agree to restart. After that type EXIT and then restart the computer.
Reply With Quote
  #3  
Old 30-03-2008
Member
 
Join Date: Jan 2006
Posts: 4,545
Re: Can't change file association for DOS batch files

Well, you can try to run the .BAT file association fix:
http://www.dougknox.com/xp/file_assoc.htm
Reply With Quote
  #4  
Old 03-04-2008
Member
 
Join Date: Aug 2006
Posts: 173
Re: Can't change file association for DOS batch files

Thanks for the workaround, the registry patch did work flawlessly. But I would still like to associate my text editor for editing batch files, where the context menu appears when right clicking a batch filename in the Explorer that has its edit choice linked to something other than Notepad. Can you tell me a way to do that without once again causing a double click of the filename to merely open the text editor to that file?
Reply With Quote
  #5  
Old 10-03-2009
Member
 
Join Date: Mar 2009
Posts: 2
Hello
I'm running XP Pro SP3 French.
My right clic menu on a .bat file is different depending of the folder where the bat file is.
If the bat file is in a subfolder of the start menu, then i can see "edit print and open with".
If the bat file is on the desktop or in "my document", the right click menu is smaller and do not show edit, print etc...
I already tried the BAT file association fix.

Can you help me?
Reply With Quote
  #6  
Old 10-03-2009
Member
 
Join Date: Oct 2005
Posts: 449
Can you check whether the desktop or my document batch files be shortcuts? Right click the Icon then click properties and tell us what they say. If the Properties say anything about Target and then the batch file name, then they are shortcuts to the batch file. If it says Type of file and Description with the batch file name then it is the actual file. The right click menu will be different for each type of file in this case (shortcut or actual file.)
Reply With Quote
  #7  
Old 11-03-2009
Member
 
Join Date: Mar 2009
Posts: 2
Those files aren't shortcuts.
They are real bat files.
I attached 3 screen images.

Attachment 7716

Attachment 7717

Attachment 7718

I do not understand why, in most cases, I do not have access to the full menu.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Can't change file association for DOS batch files"
Thread Thread Starter Forum Replies Last Post
Want a batch file to change hosts permissions. Wazza10Roo Software Development 2 20-07-2012 06:55 PM
How to change file association in Acer Iconia Tab A200 celestiall Portable Devices 1 11-02-2012 10:19 AM
Running batch files as administrator change working directory Charlie R Vista Help 8 09-11-2011 07:40 PM
How to Change Icon of the Batch File? Segvoia Operating Systems 3 20-11-2009 10:36 AM
Dos batch file to sort files based on file names. Jon Osborn Windows Server Help 9 17-06-2009 11:06 AM


All times are GMT +5.5. The time now is 07:39 AM.