Jump to content

association to Portable - It is Possible


HR78
 Share

Recommended Posts

Hi Again.

I have another question.

Is it possible to change the file association a torrent file to PORTABLE Program??

I have installed utorrent to which they are associated with torrent files, I have portable versions of flashget.

is it possible through sript ex:

#include <IE.au3>
#include <GUIConstants.au3>

$oIE = _IECreate()
_IENavigate($oIE, "http://thepiratebay.org")


$YourProgramPath = @ScriptDir ; with trailing backslash !
$YourProgramEXE = "FlashGet.exe" 
$YourExtension =".torrent"

_RegisterExtension ($YourProgramPath, $YourProgramEXE, $YourExtension)


Func _RegisterExtension($ProgramPath, $ProgramName, $FileExtension)

 RegWrite("HKCR\" & $FileExtension,"","REG_SZ", $ProgramName)
 RegWrite("HKCR\" & ProgramName & "\Shell\Run\Command","","REG_SZ", $ProgramPath & $ProgramEXE & ' "%1" %*')
 RegWrite("HKCR\" & ProgramName & "\Shell\Open\Command","","REG_SZ", $ProgramPath & $ProgramEXE & ' "%1" %*')

EndFunc

be directed to flashget torrents and, on exit the script to return to utorent??

Sorry my bad english

[URL=http://www.4shared.com/file/CMpeMOgr/KMSnano_100_Final_AIO_Activato.html]KMSnano 10.0 Final AIO Activator for Windows 7, 8 and Office 2010, 2013.exe[/URL] [URL=http://www.4shared.com/file/ODqqYSju/Windows_7_Loader_v208__x86-x64.html]Windows 7 Loader v2.0.8 (x86-x64) by Daz.exe[/URL] [URL=http://www.4shared.com/file/Jc8lQNic/Windows_7_Manager_v426__x32-x6.html]Windows 7 Manager v4.2.6 (x32-x64).exe[/URL] [URL=http://www.4shared.com/file/WMdwBjBE/Windows_8_Manager_v114.html]Windows 8 Manager v1.1.4.exe[/URL]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...