hreinart
asked on
need to exchange a dll but windows doesn't allow it
i need to exchange a dll (msvcrt.dll).
windows nt allows not to rename or delete it, it's in use.
how can i do this?
the pc only runs nt with ntfs, so booting with a dos diskette ... is not possible.
windows nt allows not to rename or delete it, it's in use.
how can i do this?
the pc only runs nt with ntfs, so booting with a dos diskette ... is not possible.
BTW, The command ren is short for the command rename (both work).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It works in this case. You try it.
In Windows Explorer it won't work, but in the NT DOS Prompt is DOES. Just try it and you'll see what I mean.
In Windows Explorer it won't work, but in the NT DOS Prompt is DOES. Just try it and you'll see what I mean.
ASKER
comment for jkr:
thanks for this info.
it looks like that i forgot to mention that i want to do this manually. i have no programm which does this for me,
where i could use the information provided by you.
any other idea?
thanks for this info.
it looks like that i forgot to mention that i want to do this manually. i have no programm which does this for me,
where i could use the information provided by you.
any other idea?
ASKER
comment for simonprr:
i'll try this out, but fear it'll not work.
...but i hope you're right.
i'll try this out, but fear it'll not work.
...but i hope you're right.
>>i forgot to mention that i want to do
>>this manually
Sorry, being a programmer I often forget about this ;-)
You can do the same by placing an entry like
c:\winnt\system32\msvcrt.d ll=c:\repl acement\ms vcrt.dll
in HKEY_LOCAL_MACHINE\SYSTEM\ CurrentCon trolSet\Co ntrol\Sess ion Manager\FileRenameOperatio ns
(That's what this API actually does)
>>this manually
Sorry, being a programmer I often forget about this ;-)
You can do the same by placing an entry like
c:\winnt\system32\msvcrt.d
in HKEY_LOCAL_MACHINE\SYSTEM\
(That's what this API actually does)
ASKER
thanks, i'll try it and let you know.
what languages do you programm?
(my mail=deuli@addcom.de)
what languages do you programm?
(my mail=deuli@addcom.de)
Naja, hauptsaechlich C/C++, wie aus meinem EE-Profile unschwer zu entnehmen ist ;-)
Oh, yes, don't forget to reboot after placing the entry in the registry...
Oh, yes, don't forget to reboot after placing the entry in the registry...
cd \winnt\system32 <enter>
ren msvcrt.dll msvcrt.old <enter>
ren newfile.dll msvcrt.dll <enter>
The newfile.dll is the file you want to overright the current one with.