Advertisement
adamchilcott

safeOutlook.cmd

Sep 12th, 2017
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.41 KB | None | 0 0
  1. @echo off
  2.  
  3. cls
  4.  
  5. echo.
  6. echo ############################################
  7. echo # Launch Outlook In SafeMode
  8. echo ############################################
  9. echo # Please Wait Patiently For This To Complete
  10. echo ############################################
  11. echo # Confirm Any Prompts That Appear
  12. echo ############################################
  13. echo.
  14.  
  15. pause
  16. start outlook /safe
  17.  
  18. echo.
  19. echo PLEASE WAIT PATIENTLY....
  20. echo CONFIRM ANY PROMPTS THAT APPEAR
  21. echo.
  22.  
  23. PING -n 16 127.0.0.1>nul
  24. taskkill /im outlook.exe /t
  25. PING -n 6 127.0.0.1>nul
  26. start outlook
  27. pause
  28. exit
  29.  
  30. REM #############
  31. REM # START NOTES
  32. REM #############
  33.  
  34. REM # 2-clause license ("Simplified BSD License" or "FreeBSD License")
  35. REM #
  36. REM # Copyright © 2018, Adam Brian Chilcott
  37. REM # All rights reserved.
  38. REM #
  39. REM # Redistribution and use in source and binary forms, with or without
  40. REM # modification, are permitted provided that the following conditions are met:
  41. REM #
  42. REM # 1. Redistributions of source code must retain the above copyright notice, this
  43. REM # list of conditions and the following disclaimer.
  44. REM # 2. Redistributions in binary form must reproduce the above copyright notice,
  45. REM # this list of conditions and the following disclaimer in the documentation
  46. REM # and/or other materials provided with the distribution.
  47. REM #
  48. REM # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  49. REM # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  50. REM # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  51. REM # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  52. REM # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  53. REM # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  54. REM # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  55. REM # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  56. REM # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  57. REM # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  58. REM #
  59. REM # The views and conclusions contained in the software and documentation are those
  60. REM # of the authors and should not be interpreted as representing official policies,
  61. REM # either expressed or implied, of the FreeBSD Project.
  62.  
  63. REM ###########
  64. REM # END NOTES
  65. REM ###########
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement