S.S.
The objectives of this channel are for academic purposes for Brunel University social studies. Thoughts, Stories and Stuff from Star Stuff. Made for the Curious. Made of Stars ✨ by @PRIVIETIK
نمایش بیشتر2 344
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
- مشترکین
- پوشش پست
- ER - نسبت تعامل
در حال بارگیری داده...
معدل نمو المشتركين
در حال بارگیری داده...
I just wanted to do a small batch code to add an extension to the files but ended up in a over engineered one lol.
Heres source code:
@echo off setlocal enabledelayedexpansion rem Reminder that you dont have to open this file. if "%~1"=="" ( echo I think you forgot you need to drag the downloaded file on this filerino, lol. pause exit /b ) rem Default password - Use this if there is a pass that 🫵 regulary use. set "defaultPassword=YOURPASSWORD" set /p "passwordChoice=Write a letterino: D=Default Pass. C=Change Pass. ENTER=No Pass." if /i "%passwordChoice%"=="D" ( set "password=!defaultPassword!" ) else if /i "%passwordChoice%"=="C" ( set /p "password=Enter the password: " ) else ( set "password=" ) rem Decompression command. if not "!password!"=="" ( "C:\Program Files\WinRAR\WinRAR.exe" x -p!password! -y -ep1 "!newname!" ) else ( "C:\Program Files\WinRAR\WinRAR.exe" x -y -ep1 "!newname!" ) rem Check the exit code to determine if extraction was successful. if !errorlevel! equ 0 ( echo Extraction completed successfully, Your rarerino will be earased to avoid confusion. Made of Stars ✨ rem Delete the decompressed file del /f "!newname!" >nul 2>&1 ) else ( echo Error occurred during extraction. The compressed file will not be deleted. ) ) pauseI removed the part where it adds the files an extension because will be not use for you. In case you want it add this in line 23
rem Add rar extension. for %%A in (%*) do ( set "filename=%%~A" set "newname=!filename!.rar
" move "!filename!" "!newname!" >nul 2>&1 echo File renamed to: !newname!You can change .rar to any extension you might need lol. Ok bye, sorry that my first post after so long was kind of trash. Base Menu ✨
For the first time, before using it.
Do the following:
✨ Right click on that file and open it with notepad.
You will see a batch code lol.
On
#1 Select the password you most common use, this way you will have a shortcut.
On
#2 Add the path were you have located winrar.exe if you don't have it, download from official page
This is important because it will use WinRAR engine to uncompress.
Don't forget to add WinRAR.exe
And thats it.
✨
Base
Menu
✨
For the first time, before using it.
Do the following:
✨ Right click on that file and open it with notepad.
You will see a batch code lol.
On
#1 Select the password you most common use, this way you will have a shortcut.
On
#2 Add the path were you have located winrar.exe if you don't have it, download from official page
This is important because it will use WinRAR engine to uncompress.
Don't forget to add WinRAR.exe
And thats it.
✨
Save this file and just drag and drop archive files above this file, without opening it.
RARERINO
Are 🫵 tired of decompress your archived files manually? and then you have to erase the archived file every time so it doesn't get a mess.
I'm pretty sure you don't mind.
Well, introducing: RARERINO.
Imagine a world in which you use RARERINO to unzip, unrar your files.
But what is RARERINO? 👀
Drag and Drop your compressed file and RARERINO will:
✨ Decompress it
✨ Erase the archive afer it decompresses.
✨ If something fails decompressing it will not erase and it will warn you that there was an error.
✨ A cool and dynamic Password Support.
(You can save a default password if you constantly use it!)
Base
Menu
✨
🍓 PRO TIP
Sometimes you will be prompted by Windows with
"This drive seems corrupted, Do you want to Format it"
As Disk is encrypted, windows want to format it, This is extremely scary because in any mistake you can erase everything.
So lets deactivate that message.
A)
✨ Right click the windows icon
✨ "Disk Management"
B)
✨ Identify your Encrypted Disk
✨ Right click -> Change Drive letter
✨ Remove
DONE ✨
Base
Menu
✨