Results 1 to 7 of 7

Thread: Can't change file association for DOS batch files

  1. #1
    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.

  2. #2
    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.

  3. #3
    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

  4. #4
    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?

  5. #5
    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?

  6. #6
    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.)

  7. #7
    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.

Similar Threads

  1. Want a batch file to change hosts permissions.
    By Wazza10Roo in forum Software Development
    Replies: 2
    Last Post: 20-07-2012, 06:55 PM
  2. How to change file association in Acer Iconia Tab A200
    By celestiall in forum Portable Devices
    Replies: 1
    Last Post: 11-02-2012, 10:19 AM
  3. Replies: 8
    Last Post: 09-11-2011, 07:40 PM
  4. How to Change Icon of the Batch File?
    By Segvoia in forum Operating Systems
    Replies: 3
    Last Post: 20-11-2009, 10:36 AM
  5. Dos batch file to sort files based on file names.
    By Jon Osborn in forum Windows Server Help
    Replies: 9
    Last Post: 17-06-2009, 11:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,065,893.85753 seconds with 17 queries