Author Topic: Command for register the shell  (Read 6918 times)

Offline danker

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Command for register the shell
« on: March 25, 2007, 04:42:46 am »
Hello!

First at all, if have to say THANK YOU!  :-*
I and my friends are happy copyhandler users! (We like to share huge files over lan). ;)

But i have a litle question.

Maybe you know nLite or other tools like this, which can add Tool (like CopyHandler) to the Windows installation.
My Problem is the registration for the "shell menu".
I try something with the registry, but it's not working because the path in the registry is variable, so I can not work with a reg tweak.
All I (think to) know is that its something about the file "chext.dll".

Which command can I use to register the shell (without using the mous)?  ???


PS: I hope my english is understandable!  ::)

Offline Ixen

  • Administrator
  • Full Member
  • *****
  • Posts: 189
  • Karma: +5/-0
    • View Profile
Re: Command for register the shell
« Reply #1 on: April 15, 2007, 03:33:32 pm »
Hello,
If you want to register a shell extension - use something like this:
regsvr32 chext.dll.
I can't exactly remeber the additional parameters to regsvr32, but it should be quite easy to find them.
When you use the command - the shell extension will register itself.

Offline danker

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Command for register the shell
« Reply #2 on: April 16, 2007, 07:51:58 am »
Thank You!  :-*

That was easy!  ;)

Here my AutoIT Code:
Quote
$way = @ProgramFilesDir & "\CopyHandler 1.28b\"
Run(@SystemDir&"\regsvr32 /s"& " """& $way & "chext.dll """)