Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
Fixed Directory Changing
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Apr 28, 2015
1 parent 21098d7 commit 8e5c459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decrypt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@echo off
set "params=%*"
if not "!params!"=="" set "params=%params:"=""%"
pushd "%cd%" && cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% >nul || if %errorlevel%==0 ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/K %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B )
pushd "%cd%" && cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% >nul || if %errorlevel%==0 ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~dps0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B )
set ESD=
set MODE=
set OUT=
Expand Down

0 comments on commit 8e5c459

Please sign in to comment.