Speed Up Windows 7
An excellent new speed utility created by Microsoft Gold Certified Partner Uniblue Systems is now here available: SpeedUpMyPC. Uniblue managed to combine a professional range of tools in one easy to use solution to boost Windows performance and speed. After scanning your system to identify system flaws that are causing data bottlenecks and slowdowns, SpeedUpMyPC wields a multitude of targeted tweaks that boost system resource management, optimize system and network settings and get rid of junk files that are weighing you down. The result is a more responsive computer that works faster and more efficiently. The Download is safe and secure:

Download SpeedUpMyPC
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 14
  1. kevvyb is offline Junior Member kevvyb is on a distinguished road
    Join Date
    Jul 2009
    Posts
    20
    Rep Power
    11

    command prompt to register ocx files

    Hi,

    I have worked out that I can drag and drop the location to a command window opened with admin rights. Very useful.

    However, this my cmd prompt window and pathname which looks correct:
    http://img38.imageshack.us/img38/1693/commandprompt.png

    but I still get this error
    http://img38.imageshack.us/img38/3530/cmderror.png

    Any ideas?

    Would add that I am registering a program from Win98 here. However is worked perfectly in XP and so I thought it might also do so in Win 7.

    Thanks
    Reply With Quote Reply With Quote   Share with Facebook

  2. Dreamflyer is offline Junior Member Dreamflyer is on a distinguished road
    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    10
    i had the same problem with one of my programs from xp.
    Found that everything has to be EXACTLY right.
    eg:
    regsvr32.exe C:\Windows\System32\...................

    All capitals in the right place as well. PERFECT. oh and dont forget to run cmd as admin...
    Reply With Quote Reply With Quote   Share with Facebook

  3. reghakr's Avatar
    reghakr is offline Windows 7 Forums Super Moderator Premium Supporter
    Valued Contributor
    reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute
    Join Date
    Jan 2009
    Posts
    6,873
    Rep Power
    1273
    Download oleRegWiz

    this will add registrer and unregister to the right-click menu of.ocx, .exe and .tlb extensions. To add .dll's, add this to the registry, making sure the path to oleregwi.exe is correct.

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\dllfile\shell]

    [HKEY_CLASSES_ROOT\dllfile\shell\Register]

    [HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
    @=\"\\"E:\\Utility\\Oleregwi.exe\\" /reg \\"%1\\"\"

    [HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command]
    @=\"\\"E:\\Utility\\Oleregwi.exe\\" /unreg \\"%1\\"\"
    I've been using this for years.

    When you use regsvr32 from the run box and it's a long file path name (as in your case, you need to use quotes around the path,)

    such as regsvr32 "C:\Program Files (x86)\Kodak imaging\imgadmin.ocx"
    Last edited by reghakr; 06-26-2009 at 07:41 PM.
    Reply With Quote Reply With Quote   Share with Facebook

  4. Tepid is offline Senior Member Valued Contributor Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute
    Join Date
    Jun 2009
    Posts
    678
    Rep Power
    430
    The link doesn't work.

    If you can locate the software and send it to me, If it is freely distributable, I will host it on my site.

    Sorry:

    http://geocities.com/reghacker/oleregwi.zip
    Last edited by reghakr; 10-07-2009 at 01:11 AM. Reason: Added zip file
    Reply With Quote Reply With Quote   Share with Facebook

  5. Tepid is offline Senior Member Valued Contributor Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute
    Join Date
    Jun 2009
    Posts
    678
    Rep Power
    430
    Actually, there is a problem with oleRegwiz.....
    I found it as RegWiz 1.0 but the exe is 1.0.1.15

    Problem,,, will not work with UAC enabled
    The code you posted has ] instead of \
    Eventhough I have set the correct paths in the keys above, the registering of a dll opens the Open With window to find a program to open the dll with. This could be due to UAC enabled, and 7 just doesn't know what to do with it, or OLERegistration.exe did not install and register properly due to UAC eventhough I installed it with Run as Admin. I won't be doing any more testing with this app at this time.

    If I find a real need to do that much dll, ocx, other registering (which I doubt) I may find a way to add the context menu properly to win7 context menu and make it work with UAC enabled. But I don't think I will at this time. I'm not saying it's bad or useless, for some people it will save time if they need to register/unregister these types of files often, it is a deffinate usefull tool. But for 97% it's kinda a useless, very specialised tool for very specific needs for very few people (imo) (programers mostly). But a good one in it's day and should be updated for 7, for those that really could use it, but I would think they already have it done. I know, that was long winded double talk.
    Last edited by Tepid; 06-26-2009 at 03:57 AM.
    Reply With Quote Reply With Quote   Share with Facebook

  6. reghakr's Avatar
    reghakr is offline Windows 7 Forums Super Moderator Premium Supporter
    Valued Contributor
    reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute
    Join Date
    Jan 2009
    Posts
    6,873
    Rep Power
    1273
    Tepid,

    yes, you're right, I was using Vista when I posted

    I am, however,in that 3% of people who use it frequently.

    I use Universal Extractor to unpack my downloaded .exe files. The only type universal Extractor will not unpack is a Borland,Visual Basic Overlay file, UPX compressed and a couple others

    I like to know what inside the file before I install.

    Microsoft has solved the DLL Hell problem, but not with ocx files. I've had installs that replace SP6 files with SP4 in the installation directory. I use oleregwiz to unregister that ocx file and re-register the newer file in the c:\windows\system32 directory.

    For some reason Windows 7 does not pickup a dll file as a valid extension...Vista does and I apologize

    You can however add regsvr32.exe $1 under the dllfile > shell > Register > command ke. Remember that unlike ocx files, many dll's are not self registering and may produce an error.

    For those who use it very rarely, I think the Run box is the most likely option.
    Reply With Quote Reply With Quote   Share with Facebook

  7. Tepid is offline Senior Member Valued Contributor Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute
    Join Date
    Jun 2009
    Posts
    678
    Rep Power
    430
    Can you fix your code in the regkey you provided, there is a mistype.

    ] should be \
    Reply With Quote Reply With Quote   Share with Facebook

  8. reghakr's Avatar
    reghakr is offline Windows 7 Forums Super Moderator Premium Supporter
    Valued Contributor
    reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute
    Join Date
    Jan 2009
    Posts
    6,873
    Rep Power
    1273
    Reply With Quote Reply With Quote   Share with Facebook

  9. Tepid is offline Senior Member Valued Contributor Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute Tepid has a reputation beyond repute
    Join Date
    Jun 2009
    Posts
    678
    Rep Power
    430
    Thanks, it was just if someone tries it out, the code would be wrong and they may not know how to fix it.
    Reply With Quote Reply With Quote   Share with Facebook

  10. reghakr's Avatar
    reghakr is offline Windows 7 Forums Super Moderator Premium Supporter
    Valued Contributor
    reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute reghakr has a reputation beyond repute
    Join Date
    Jan 2009
    Posts
    6,873
    Rep Power
    1273
    Truthfully, I don't know how I did that, I copied and pasted.

    But, knowing me I probably hit a key somewhere.
    Reply With Quote Reply With Quote   Share with Facebook

Similar Threads

  1. Win 7 won't let me run chkdsk from command prompt
    By dkperez in forum Windows 7 Discussion
    Replies: 5
    Last Post: 12-20-2009, 06:03 PM
  2. Messages sent from command prompt?
    By ihatethis in forum Windows 7 Networking
    Replies: 0
    Last Post: 10-26-2009, 05:34 PM
  3. Currupt registry need help with command prompt
    By Aren in forum Windows 7 Support
    Replies: 15
    Last Post: 10-22-2009, 12:58 AM
  4. Command Prompt
    By gavi11 in forum Windows Vista Discussion
    Replies: 2
    Last Post: 05-04-2009, 11:18 AM
  5. Command Prompt Problem
    By nick_silver in forum Windows 7 Support
    Replies: 11
    Last Post: 05-03-2009, 07:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish