Guest User

One.bat

a guest
May 29th, 2016
2,951
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. @echo off
  2.  
  3. Echo Creating directory for Oculus scripts
  4. MD "%ProgramFiles%\Oculus"
  5. Echo Directory create completed in code: %errorlevel%
  6.  
  7. Echo Copying Oculus scripts to Program Files
  8. echo f|Xcopy /Y %HOMEDRIVE%\Two.bat "%ProgramFiles%\Oculus"
  9. Echo Copy completed in code: %errorlevel%
  10.  
  11. Echo Applying Startup Scheduled Task for script
  12. schtasks /create /XML %HOMEDRIVE%\OculusTask.xml /TN "Oculus Correction" /F
  13. Echo Application of task complted in code: %errorlevel%
  14.  
  15. exit 0
Advertisement
Add Comment
Please, Sign In to add comment