Advertisement
Guest User

Batch Code

a guest
Jul 26th, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. @ECHO OFF
  2. SET ThisScriptsDirectory=%~dp0
  3. SET PowerShellScriptPath=%ThisScriptsDirectory%\data\Start.ps1
  4. PowerShell -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-ExecutionPolicy Bypass -File ""%PowerShellScriptPath%""'}";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement