mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-07 17:41:29 +00:00
path contains spaces check
This commit is contained in:
@@ -10,6 +10,14 @@ REM Registry scan of other drives besides
|
|||||||
REM /////true or false
|
REM /////true or false
|
||||||
SET long=false
|
SET long=false
|
||||||
|
|
||||||
|
REM Check if the current path contains spaces
|
||||||
|
SET "CurrentFolder=%~dp0"
|
||||||
|
IF "!CurrentFolder!" NEQ "!CurrentFolder: =!" (
|
||||||
|
ECHO winPEAS.bat cannot run if the current path that contains spaces.
|
||||||
|
ECHO Exiting.
|
||||||
|
EXIT /B 1
|
||||||
|
)
|
||||||
|
|
||||||
:Splash
|
:Splash
|
||||||
ECHO.
|
ECHO.
|
||||||
CALL :ColorLine " %E%32m((,.,/((((((((((((((((((((/, */%E%97m"
|
CALL :ColorLine " %E%32m((,.,/((((((((((((((((((((/, */%E%97m"
|
||||||
|
|||||||
Reference in New Issue
Block a user