deep ocean a écrit:x-ben a écrit:c'est xp et il râle![]()
il recré illico un notepad si tu modifie le nom
(j'ai mème essayé avec un batch mais ça n'est encore pas assez rapide pour le bluffer)
Voici le batch que j'ai utilisé pour remplacer le notpad original par le 2 (sous XP, et ça a parfaitement marché):
- Code: Tout sélectionner
rename C:\WINDOWS\System32\dllcache\notepad.exe notepad_original.exe
rename C:\WINDOWS\ServicePackFiles\i386\notepad.exe notepad_original.exe
rename C:\WINDOWS\System32\notepad.exe notepad_original.exe
rename C:\WINDOWS\notepad.exe notepad_original.exe
copy /-y notepad.exe C:\WINDOWS\System32\dllcache
copy /-y notepad.exe C:\WINDOWS\ServicePackFiles\i386
copy /-y notepad.exe C:\WINDOWS\System32
copy /-y notepad.exe C:\WINDOWS
Avec bien entendu ton executable notepad2.exe renommé en notepad.exe, dans le dossier d'où tu lance le batch.
c'est ce que j'ai fais sans passer par les rename (ils ne servent à rien car windows recrée un notepad.exe dès que tu modifies le nom)
bref merci beaucoup c'est génial d'être trankilou avec ça

-
x-ben
- Messages : 11