\documentclass{article}
% This is an example of a Windows Hebrew file

 \usepackage[cp1255]{inputenc}
 \usepackage[hebrew,english]{babel}

   \begin{document}


  \selectlanguage{hebrew}
   זה טקסט בעברית.

עוד שורה בעברית.

\selectlanguage{english}
This is an English line.

\end{document}
