Jump to content



Photo

File Types Manager


  • Please log in to reply
27 replies to this topic

#1 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 10 August 2010 - 03:37 PM

LAST VERSION - 1.3
22-May-11

File Types Manager (FTM) is designed to viewing and editing properties (type name, icon, context menu, etc.) of the registered file types. This is something that is present in Windows XP by default and is available from the menu of any folder, but for some unknown reason is not in the Windows Vista/7. Instead, there is a very stupid tool named "Set Associations" where you can not change the type name, icon, context menu, and other usefull parameters. Since I often have to edit the file types, I decided to remedy this lack and write analog of the "File Types" dialog window (Windows XP).

According to the written above, FTM will be useful only for "happy" users of Windows Vista/7. The program may not work correctly in Windows XP, so do not try to run it, and this is meaningless, XP has its own tool. FTM carefully working with the registry: if for any reason, changes can not be saved in the registry, will be shown a detailed log with an expanded description of the problem. Although I tested FTM long enough, I decided to give the Beta status (although version 1.0). I think it makes no sense to write in detail how FTM works. Everything is simple and intuitive.

BTW, for ease to use, you can import to the registry the following .reg file. That adds the "File Types ..." item to the context menu for all files, and FTM will automatically moves on the file type (if registered) into the list, corresponding to the selected file.

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT*shellTypes] @=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,   00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,46,00,   54,00,4d,00,2e,00,65,00,78,00,65,00,2c,00,2d,00,36,00,30,00,30,00,30,00,00,   00 "HasLUAShield"="" [HKEY_CLASSES_ROOT*shellTypescommand] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,   00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,46,00,54,00,   4d,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,00,22,00,00,00


As usualy, I will be glad to any feedback and suggestions.


Posted Image


Posted Image



License

Posted Image


Supported operating systems

Windows Vista, 7


Files to download

Installer (recommended)
Redirection to FTM_setup.zip, 852 KB

Attached File  FTM_setup.html   132bytes   712 downloads

Binary
Redirection to FTM_bin.zip, 546 KB

Attached File  FTM_bin.html   130bytes   925 downloads

Source
Redirection to FTM_source.zip, 671 KB

Attached File  FTM_source.html   133bytes   1221 downloads

Edited by Yashied, 29 February 2012 - 08:10 PM.






#2 taietel

taietel

    I'm the third from the left...

  • Active Members
  • PipPipPipPipPipPip
  • 722 posts

Posted 10 August 2010 - 04:05 PM

Nice job Yashied! Looks very good so far!

Thank you! (for WinApiExUDF also)

I'll take a closer look when I get back home.

#3 wraithdu

wraithdu

    I am less fun than a twisted ankle.

  • MVPs
  • 2,137 posts

Posted 10 August 2010 - 05:29 PM

I had a project for the same reasons quite some time ago. I guess I never posted it on the forum. Feel free to borrow anything you might like from it, I doubt I'll be doing anything with it any time soon. But it has always worked pretty much perfectly for me in XP/Vista/7.

ArkeType

#4 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 10 August 2010 - 10:33 PM

taietel, wraithdu

Thanks.

#5 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 19 September 2010 - 09:18 PM

The program has been updated to v1.1.

Changes

Spoiler


#6 Mat

Mat

    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 4,042 posts

Posted 20 September 2010 - 07:02 AM

Theres a few that I can't edit... I know that when I edit the registry manually it makes no difference either. Do you know what could be using it instead?

I don't know where I'm going, but I'm on my way.


#7 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 20 September 2010 - 07:47 PM

Do you know what could be using it instead?

Instead of what?

#8 wraithdu

wraithdu

    I am less fun than a twisted ankle.

  • MVPs
  • 2,137 posts

Posted 20 September 2010 - 07:52 PM

@Mat
Gonna need more info. File type info can be in both HKLM and HKCU, where HKCU will override any identical settings in HKLM.

#9 Mat

Mat

    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 4,042 posts

Posted 20 September 2010 - 10:19 PM

Well, It's for .php files

Plain Text         
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\.php] @="PHPFile" [HKEY_USERS\S-1-5-21-1777379783-952228052-1880501250-1000\Software\Classes\.php] @="PHPFile" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.php] @="PHPFile" [HKEY_CLASSES_ROOT\.php] @="PHPFile" [HKEY_CLASSES_ROOT\PHPFile] [HKEY_CLASSES_ROOT\PHPFile\default icon] @="C:\\Programming\\Resources\\Icons\\web icons\\file types\\php.ico" [HKEY_CLASSES_ROOT\PHPFile\shell] [HKEY_CLASSES_ROOT\PHPFile\shell\Open] @="&Open" [HKEY_CLASSES_ROOT\PHPFile\shell\Open\command] @="\"C:\\Program Files\\SciTE\\SciTE.exe\" \"%1\"" [HKEY_CLASSES_ROOT\PHPFile\shell\Test] [HKEY_CLASSES_ROOT\PHPFile\shell\Test\command] @="\"C:\\Users\\new user\\Desktop\\apache\\PHPTest.exe\" \"%1\""


First, the item is read only in the file type manager. Second, the Open in the menu runs PHPTest not SciTE. I'm not sure what's overriding here.

PHPTest is a program I wrote that will construct the url to the php file e.g. 'http://127.0.0.1/test.php' and execute that.

Mat

I don't know where I'm going, but I'm on my way.


#10 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 20 September 2010 - 11:04 PM

First, the item is read only in the file type manager.

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.php\UserChoice] "Progid"="PHPFile"
Click on "Restore" button.

Edited by Yashied, 21 September 2010 - 05:02 AM.


#11 Mat

Mat

    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 4,042 posts

Posted 21 September 2010 - 09:21 AM

Ah, thanks a lot, I knew there was an entry I had missed ;) I hadn't thought of clicking restore.

I don't know where I'm going, but I'm on my way.


#12 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 24 November 2010 - 11:27 PM

The program has been updated, version remains unchanged.

Changes

Spoiler

Edited by Yashied, 24 November 2010 - 11:27 PM.


#13 KaFu

KaFu

    Hey, it's just me, KhaFoo...

  • MVPs
  • 3,165 posts

Posted 25 November 2010 - 11:17 AM

Yashied, this really looks great :graduated:, is it fine with you if I include it in SMF as an external help app?

#14 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 25 November 2010 - 02:06 PM

Of course.

:graduated:

#15 KaFu

KaFu

    Hey, it's just me, KhaFoo...

  • MVPs
  • 3,165 posts

Posted 25 November 2010 - 02:34 PM

Excellent, thanks a bunch :graduated:...

#16 Beege

Beege

    Universalist

  • MVPs
  • 843 posts

Posted 27 November 2010 - 06:07 PM

Great job Yashied. Thanks for sharing! Posted Image

#17 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 06 December 2010 - 08:53 PM

The program has been updated to v1.2.

Changes

Spoiler

Edited by Yashied, 07 December 2010 - 08:39 PM.


#18 Mat

Mat

    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 4,042 posts

Posted 06 December 2010 - 09:19 PM

:graduated:

I was wondering if there was a faster way to do it... When you consider that this is a tool I use to change a single entry that is annoying me every now and then, it makes it a bit of a chore with it taking ten secs to load, this now does it in less than 1. I was considering trying to rewrite it in fasm to get it faster, but soon gave up when I realized how much depth this one has.

I don't know where I'm going, but I'm on my way.


#19 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 07 December 2010 - 08:59 PM

I was wondering if there was a faster way to do it... When you consider that this is a tool I use to change a single entry that is annoying me every now and then, it makes it a bit of a chore with it taking ten secs to load, this now does it in less than 1. I was considering trying to rewrite it in fasm to get it faster, but soon gave up when I realized how much depth this one has.

I worked a few days on optimization of the cache algorithm. I am glad that it's someone appreciated. Thanks.

:graduated:

Edited by Yashied, 07 December 2010 - 09:00 PM.


#20 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 30 December 2010 - 08:56 AM

The program has been updated, version remains unchanged.

Changes

Spoiler





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users