Jump to content

notepad replacement


 Share

Recommended Posts

notepad replacement

how do i convert this to wpi method?

REN %systemdrive%\WINDOWS\System32\dllcache\notepad.exe notepad.old

COPY "%CDROM%\Software\notepad.exe" "%systemdrive%\WINDOWS\System32\dllcache\"

REN %systemdrive%\WINDOWS\System32\notepad.exe notepad.old

COPY "%CDROM%\Software\notepad.exe" "%systemdrive%\WINDOWS\System32\"

REN %systemdrive%\WINDOWS\notepad.exe notepad.old

COPY "%CDROM%\Software\notepad.exe" "%systemdrive%\WINDOWS\"

Link to comment
Share on other sites


Try this

cmd1[pn]=['cmd.exe /C REN %windir%\\System32\\dllcache\\notepad.exe notepad.old']

cmd2[pn]=['cmd.exe /C COPY %CDROM%\\Software\\notepad.exe %windir%\\System32\\dllcache\\notepad.exe']

cmd3[pn]=['cmd.exe /C REN %windir%\\System32\\notepad.exe notepad.old']

cmd4[pn]=['cmd.exe /C COPY %CDROM%\\Software\\notepad.exe %windir%\\System32\\notepad.exe']

cmd5[pn]=['cmd.exe /C REN %windir%\\notepad.exe notepad.old']

cmd6[pn]=['cmd.exe /C COPY %CDROM%\\Software\\notepad.exe %windir%\\notepad.exe']

notice the %windir% and not %systemdrive%\\WINDOWS is shorter

'edited'

a06lp - Great minds think alike :D

Link to comment
Share on other sites

a06lp - Great minds think alike  :D

Too true. :P

Also, note that you do not need to write the full "cmd.exe /C" as Bulldog suggested.

I use a simple "cmd /c" as mentioned above. No problems using it with any version.

:whistle:

Link to comment
Share on other sites

  • 2 weeks later...

Does anyone know if Notepad2 Notepad.exe can be slipstreamed?

The Original Notepad.exe is in NOTEPAD.EX_ in the I386 Folder.

If I just replace that will it work?

[EDIT] Already Answered (the above method will work):

http://www.msfn.org/board/index.php?showto...948&hl=Notepad2

http://www.msfn.org/board/index.php?showto...=Notepad2&st=10

You can, but you must proceed doing it in these steps, or installation will fail:

1. rename notepad2.exe to notepad.exe

2. use modifype.exe to add crc checksumdata to notepad.exe

3. makecab the file to notepad.ex_ and replace it on your cd.

ModifyPE 0.81

modifyPE.exe notepad.exe -c
then...
makecab notepad.exe

Edited by DigeratiPrime
Link to comment
Share on other sites

using SFX

example on how to COULD be,

>>> remove notpad..exe from your windows Install source... (for example with Nlite,

>>> make 2 SFX archives, 1: Notepad_old.exe 2: notepad_new.exe

--> in these sfx files define, that the content must be extracted to: "%windir%\System32"

now you could make a litle javascript to enable a user to chose what version he wants,

you could, do this multiple ways, 1 is a checkbox,

if ( document.checkbox.check). {  '/start  notepad_new.exe'}  
else {  '/start notepad_old.exe}

or you could even use radio buttons for, none / old / new

or whatever you'd like... this would be a lot easier, specialy when, you want to keep WFP on...

note this code isn't complete, look at it yourself to get it working,

didn't have the time to check out the exact spelling in some parst of it so i left them out, (look at the writefunction to see how)...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...