"secret" file.bat (make a .bat that opens a file but is password protected)

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    The forums have been archived. Please read this thread for more information.

    • "secret" file.bat (make a .bat that opens a file but is password protected)

      @echo off
      echo.
      echo.
      echo.
      :Start
      set/p input= pasword?
      if %input%==password goto Work
      echo.
      echo.
      exit.
      echo.
      echo.
      :work
      start explorer.exe "location"

      copie this to notpad and save as a .bat...
      change the password texts to your password you want to use...
      copy the location of the hidden file to the "location"

      what this foes when you click it is opens up CMD, and ask's for your password...
      type your password and hit enter and the file should open... if you type it wrong then it shouldn't open :)

      great for easy getting to files without all the hassle of opening heaps of other files :)
      200% Fuck You.