dba123
asked on
Create regsvr32 unreg shortcut
I forget how to modify a shortcut to regsvr32 to perform an unregister. I tried editing the properties of my regsvr32 shortuct and add a -u but it doesn't like it.
I want to just drag my dlls on top of my shortcut to register and create a shortuct for unregistering my dlls
I want to just drag my dlls on top of my shortcut to register and create a shortuct for unregistering my dlls
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
so: "C:\Documents and Settings\sss\Desktop\regsv r32.exe" /u- ? for the target path in the properties of the shortcut?
<aside>
Why are you asking this in the VB.NET area? ;-)
</aside>
Why are you asking this in the VB.NET area? ;-)
</aside>
dba123:
> so: "C:\Documents and Settings\sss\Desktop\regsv r32.exe" /u- ? for the
> target path in the properties of the shortcut?
No. regsvr32.exe is in the system32 folder, not on your desktop, unless you copied it over.
And what I am proposing is not to have a shortcut, but a batch file.
Dabas
> so: "C:\Documents and Settings\sss\Desktop\regsv
> target path in the properties of the shortcut?
No. regsvr32.exe is in the system32 folder, not on your desktop, unless you copied it over.
And what I am proposing is not to have a shortcut, but a batch file.
Dabas
ASKER
asking int the VB.NET area because VB is where a lot of dlls are used
ASKER
yea, i copied it over and created a shortcut. now I just want to add a switch to the shortcut to make it unregister
ASKER
trying the batch file now but I've done this before using a shortcut, just can't get the syntax to work right in the shortcut properties
ASKER
I want to do this with a shortcut...
REGSVR32.EXE -u "d:\ASPSmartUpload\aspSmar tUpload.dl l"
REGSVR32.EXE -u "d:\ASPSmartUpload\aspSmar
dba123:
If you insist.
Have you tried C:\Windows\System32\regsvr 32.exe /u- as the target of your shortcut?
Can I assume that you are on WinXP?
Dabas
If you insist.
Have you tried C:\Windows\System32\regsvr
Can I assume that you are on WinXP?
Dabas
Create a new text file on your desktop, but give it a .bat extension.
Something like unregister.bat
As its only line type something like C:\Windows\System32\regsvr
If my memory is right from my DOS days, %0 (it might be %1) gets substituted by the file you drag there.
Dabas