Protoss Posted December 2, 2004 Author Posted December 2, 2004 Ok got a question, I just got Notepad2, and think its worthy of being my new Wordpad, but how would I go about doing that?
Astalavista Posted December 2, 2004 Posted December 2, 2004 Protos,totoymola has created a installshield install for metapad. Which... ehh... sort kinda... the same.pm him he can send it to u. @Nologic good advice.
Nologic Posted December 3, 2004 Posted December 3, 2004 Protoss -Well I'd do up a simple script like so at the very least. If FileExists ( @WindowsDir & "\ServicePackFiles\i386\Notepad.exe" ) Then FileCopy ( @ScriptDir & "\Notepad2.exe", @WindowsDir & "\ServicePackFiles\i386\Notepad.exe" , 1 ) EndIfIf FileExists ( @SystemDir & "\dllcache\Notepad.exe" ) Then FileCopy ( @ScriptDir & "\Notepad2.exe", @SystemDir & "\dllcache\Notepad.exe" , 1 ) EndIfIf FileExists ( @SystemDir & "\Notepad.exe" ) Then FileCopy ( @ScriptDir & "\Notepad2.exe", @SystemDir & "\Notepad.exe" , 1 ) EndIfIf FileExists ( @WindowsDir & "\Notepad.exe" ) Then FileCopy ( @ScriptDir & "\Notepad2.exe", @WindowsDir & "\Notepad.exe" , 1 ) EndIfTho that will flate out nuke Notepad to where there is no backup...so you may want to code that in.Some thing like:FileCopy ( @WindowsDir & "\Notepad.exe", @WindowsDir & "\Notepad.exe.bak" , 1 )Tho that code would go before the prior code.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now