Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
What happens when you do double click it? Does it do nothing? prompt you? open in notepad? – Miles Hayler Oct 1 '12 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 '12 at 9:08
Pasting the content of bat, will make it easier to help. – Ankit Mishra Oct 1 '12 at 9:15
@lamb: i dont have any problem while running content. Its a problem with default file association of windows. – madhu Oct 1 '12 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. – Miles Hayler Oct 1 '12 at 9:26
up vote 2 down vote accepted

Thank you all, I found a solution for my problem click here

share|improve this answer
Don't forget to mark this as the answer. – Miles Hayler Oct 1 '12 at 10:19

You must log in to answer this question.

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