Page 1 of 1

Reverse command prompt action

Posted: 04 Feb 2010 07:21
by Peterr
Hi everone,

"A friend of mine :p" just used a crack for adobe illustrator CS4, but would like to reverse it. The CMD code is:
FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 activate.adobe.com>>%WINDIR%\system32\drivers\etc\hosts

I have no experience whatsoever in command prompt programming, could anyone please give advise?


Help is appreciated, thanks!

Re: Reverse command prompt action

Posted: 04 Feb 2010 07:50
by !k
Run notepad %WINDIR%\system32\drivers\etc\hosts
erase string 127.0.0.1 activate.adobe.com and save change

Re: Reverse command prompt action

Posted: 04 Feb 2010 09:09
by aGerman
Peterr

Additional to !k's reply - the default line should be

Code: Select all

127.0.0.1       localhost


Regards
aGerman