PDA

View Full Version : sobrewrite the file


luffymk
10-07-2007, 05:44 PM
hello to replace a file

C:\notepad.exe

by this other: notepad.exe, to sobrewrite the file?

longedge
10-08-2007, 04:21 PM
I don't understand your question. Can you try to explain more fully.

thetford
10-08-2007, 04:33 PM
I think he is wanting to replace notepad with another text editor, right? Yes, you can overwrite the file - not withstanding windows file protection issues, which I'm not sure if that extends to notepad or not. I **think** you can just install your text editor and write to the registry to use your program.

RizlaUK
10-09-2007, 06:28 PM
i dont think its a wize move to overwrite windows components, as thetford says, write your own keys and set any file associations for your app, its easy enough and theres plenty of examples of how to do such on the forum

i dont think your users would be pleased if you just overwrite notepad.exe, i know i wouldent