Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

launching .exe files


  • Please log in to reply
10 replies to this topic

#1 matija245

matija245

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Location:Ljubljana
  • Local time:08:53 PM

Posted 04 November 2009 - 02:36 PM

first sorry for my bad english



i have win7.. i launch one .exe file with notepad and now opens all .exe files in notepad

how i can change this back to default???

BC AdBot (Login to Remove)

 


#2 Keithuk

Keithuk

  • Members
  • 960 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:53 PM

Posted 05 November 2009 - 07:27 AM

i have win7.. i launch one .exe file with notepad and now opens all .exe files in notepad

how i can change this back to default???


You haven't said which programming language you are using?

I can't see how you can open any file with notepad unless you saved it as a *.bat file.

In VB6 you can use the ShellExecute API call to open any type of file that is registered in the registry. :thumbsup:

Keith

Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows 7 Professional SP1 32bit (laptop computer)

Windows 8 64bit spare drive for laptop computer


#3 matija245

matija245
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Location:Ljubljana
  • Local time:08:53 PM

Posted 05 November 2009 - 10:08 AM

You haven't said which programming language you are using?

I can't see how you can open any file with notepad unless you saved it as a *.bat file.

In VB6 you can use the ShellExecute API call to open any type of file that is registered in the registry. :thumbsup:


in using english programming language
i open one .exe file with notepad(open with..) and then all files opening in notepad

i tried some in regedit but no luck

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:53 PM

Posted 05 November 2009 - 12:55 PM

You need to remove the default association. What OS are you using?

#5 matija245

matija245
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Location:Ljubljana
  • Local time:08:53 PM

Posted 05 November 2009 - 02:56 PM

win 7 ultimate

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:53 PM

Posted 05 November 2009 - 03:05 PM

Go to Control Panel, Programs, Defaults.

If you dig around you should find where you notepad is associated with .exe files. You can un-associate from there.

#7 matija245

matija245
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Location:Ljubljana
  • Local time:08:53 PM

Posted 05 November 2009 - 03:31 PM

Go to Control Panel, Programs, Defaults.

If you dig around you should find where you notepad is associated with .exe files. You can un-associate from there.


in the list of files defaults there is no .exe file i try "set program access and compoter defaults" but this open me notepadand some codes

#8 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:53 PM

Posted 05 November 2009 - 03:46 PM

I am in class, so I wil have to be brief. Work your way down this list.

#9 Keithuk

Keithuk

  • Members
  • 960 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:53 PM

Posted 05 November 2009 - 05:49 PM

in using english programming language


That doesn't tell us much. :thumbsup:

Keith

Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows 7 Professional SP1 32bit (laptop computer)

Windows 8 64bit spare drive for laptop computer


#10 Platypus

Platypus

  • Global Moderator
  • 15,153 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:06:53 AM

Posted 05 November 2009 - 09:39 PM

Here is Microsoft's instruction for restoring the .exe association after it has become attached to the wrong application:

http://support.microsoft.com/kb/950505
Top 5 things that never get done:

1.

#11 matija245

matija245
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Location:Ljubljana
  • Local time:08:53 PM

Posted 06 November 2009 - 01:10 PM

i solve the problem

thanks for help
:thumbsup: :flowers:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users