6

I have created a batch file(.bat file). I am not sure, due to some reasons its not running when i double click on it.

I configured Control Panel\All Control Panel Items\Default Programs\Set Associations

.bat file as windows command processor and retried still file path is opening in does prompt. but file is not running. Please help me.

5
  • What happens when you do double click it? Does it do nothing? prompt you? open in notepad? Oct 1, 2012 at 9:02
  • @miles hayler: if the file is on desktop, path of desktop is opening in command prompt. Then i can able to run it by typing file name. It is became 2 step process.
    – madhu
    Oct 1, 2012 at 9:08
  • Pasting the content of bat, will make it easier to help.
    – Ankit
    Oct 1, 2012 at 9:15
  • @lamb: i dont have any problem while running content. Its a problem with default file association of windows.
    – madhu
    Oct 1, 2012 at 9:17
  • Do you have UAC enabled or disabled? If it's opening the command prompt then it know what it's supposed to do with it in terms of file association. Oct 1, 2012 at 9:26

1 Answer 1

3

Thank you all, I found a solution for my problem http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html. click here

2
  • Don't forget to mark this as the answer. Oct 1, 2012 at 10:19
  • Don't forget to actually write the answer so that it also works aftert the link to an external site has died.
    – Hennes
    Jan 25, 2018 at 8:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .