Dave said:
Steffen, is it your personal finding? Or it was found somewhere in the Internet?aGerman discovered that CSCRIPT can enable the escape sequences simply by running an innocuous PowerShell command
Steffen, is it your personal finding? Or it was found somewhere in the Internet?aGerman discovered that CSCRIPT can enable the escape sequences simply by running an innocuous PowerShell command
It looks like it is solved in gsudo. Sorry, it's C#, not a pure batch.a way to redirect stdin/stdout/stderr from the elevated shell, back into the original shell
Code: Select all
for /f %%i in ('echo %1 | sed "s/.*\///"') do set FILENAME=%%i
Code: Select all
for /f %%i in ('echo %1 ^| sed "s/.*\///"') do set FILENAME=%%i