Hi Aashish,
1) look in MSDN to "Shell Basics: Extending the Shell - Creating a File Association"
2/3) many SW uses special DLL
MartinJ
very simply example for registry:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\Shell\File to EXE - use WinRar (Max)\Command]
@="d:\\special.bat %1"
[HKEY_CLASSES_ROOT\*\Shell\File to EXE - use WinRar (Fast)\Command]
@="d:\\specialf.bat %1"
[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (max)]
[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (max)\Command]
@="d:\\special.bat %1"
[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (fast)]
[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (fast)\Command]
@="d:\\specialf.bat %1"
Special.bat
START /D"c:\Program Files\WinRAR" WinRAR.exe a -sfxDefault.SFX %1 %1 -m5 -md1024 -s -r -rr -dh
specialf.bat
START /D"c:\Program Files\WinRAR" WinRAR.exe a -sfxDefault.SFX %1 %1 -m1 -md1024 -s -r -rr -dh
>Hi Friends,
>
>Would like to add few options in Right Click Menu of Operating System Windows.
>
>Like how WINZIP provide option of zipping in OS through Right Click.
>
>Features Needed
>1. File/Extension based operation.
>2. Multi - Selection.
>3. Dynamic Change in Right Click Menu of OS
>
>
>Example:
>Right click from the OS on .doc file provides an option to move that particular file in predefined path.
>Right click from the OS on .xls file provides an option to password protect the file.
>Right click from the OS on .PDF file provides an option to save the PDF content as text.
>
>
>Thanks.