title: Storing multi-word strings to a file
body: <p>I've recently been trying to make a program to simply store text to a file for later viewing, storing it as a .rar file for security against those who don't understand how to extract the text from the .rar (i.e. the less "techy" people)...</p>
  
  <p>I have, however, encountered an error in the program that results in the <code>&lt;word&gt; not expected at this time</code> followed by the .exe closing when I input <code>add/&lt;word&gt; &lt;word&gt;...</code> (i.e. any multi-word string with spaces in between the words [<code>add/&lt;word&gt;</code>, however, does function properly]).</p>
  
  <p>Is there a special rule that must be followed for storing multi-word strings to a .rar or a file in general (I do, however, know that there is a rule for creating/renaming folders/directories)?</p>
  
  <p>The Program Segment:</p>
  
  <pre><code>:command
  
  cls
  
  set /p journal=&lt;journal.rar
  
  echo %journal%
  echo.
  
  set /p command=What would you like to do? 
  
  cls
  if %command%==exit exit
  if %command%==help goto help
  if %command%==delete echo START; &gt; journal.rar
  if %command:~0,4%==add/ echo "%journal%""%command:~4%;" &gt; journal.rar
  if %command:~0,5%==edit/ echo %journal:%command:~5%=%;" &gt; journal.rar
  
  goto command
  </code></pre>