title: Is there a way to store and retrieve a password in a file from a batch script?
body: <pre><code>@ECHO OFF
  DFC.EXE get /isfrozen
  
  IF Errorlevel 1 GOTO Frozen
  IF Errorlevel 0 GOTO Thawed
  
  :Frozen
  Echo Errorlevel 1 Computer is Frozen, Thawing Now
  DFC.EXE fakepassword123 /BOOTTHAWED
  Echo
  Goto END
  
  :Thawed
  Echo Errorlevel 0 Computer is Not Frozen
  Echo
  Goto END
  
  :END
  Exit
  </code></pre>
  
  <p>I am trying to run a very simple batch file but I don't want the password stored in plain text if someone were to edit it. </p>
  
  <p>Right now the DFC.exe password line is where the password is stored.  </p>
  
  <p>Is there a way to hide this password in another file and call it from there?</p>