Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF & SETLOCAL ENABLEDELAYEDEXPANSION
- SET "ARAN=%random%~enc"
- SET "ARAN2=%random%~dec"
- IF NOT "%~1"=="" (
- SET "TMP=%~1"
- CERTUTIL -f -decode "%~1" "%~dp0\%ARAN2%!TMP:~-4!"
- PAUSE
- )
- SET /P "File=InputFile:"
- SET "ARAN=%random%~enc"
- CERTUTIL -f -encode "!File!" "%~dp0\!ARAN!!File:~-4!"
- CLS
- ECHO.Created encoded file: %~dp0\!ARAN!!File:~-4!
- TIMEOUT /T 5 >nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement