Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  Lamb 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

1 Answer 1

up vote 1 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.