- search-ms
- search-ms:displayname=<DISPLAY_NAME>&crumb=System.Generic.String%3A<SEARCH_INPUT>&crumb=location:
DISPLAY_NAME: Explorer will show this title in the bar (e.g. Search results for <SEARCH_INPUT>) SEARCH_INPUT: Search input
@ECHO OFF | |
WHERE /R .\ Thumbs.db > TEMP | |
IF ERRORLEVEL 1 GOTO L1 | |
GOTO L0 | |
:L0 | |
FOR /F %%B IN (TEMP) DO ( | |
DEL /Q /S %%B |
You will need the libcurses-dev packet which can be installed with:
APT: (Debian, Ubuntu)
sudo apt-get install libncurses-dev -y
YUM/DNF: (Fedora)
sudo yum intall libncurses-dev -y
@ECHO OFF | |
REM Version 1.3.6 | |
TITLE Welcome to DATA_Tools. | |
IF /I "%CD:~0,2%"=="%SYSTEMDRIVE%" ( | |
ECHO This script must be on the USB drive! | |
ECHO Canceled operation. | |
ECHO. | |
PAUSE |
REM Oh hi. I didn't documented my script. :V | |
REM TODO/THINGS/ETC: | |
REM - Nothing. | |
@ECHO OFF | |
:reset | |
CLS | |
SET VER=r0.8.4dev1 | |
IF "%SESSIONNAME%"=="" ( | |
SET ISADMIN=TRUE |
@ECHO OFF | |
REM Written by DD~! | |
REM Loop within the files, current directory | |
FOR %%A IN (*) DO ( | |
REM If the file isn't the script file (filename) | |
IF NOT "%%A"=="%~nx0" ( | |
REM If the file is under 1 MB, delete it | |
IF %%~zA LEQ 2097152 DEL /Q "%%~A" | |
) |
@ECHO OFF | |
REM Game2, an extract from LittleHelper, a script I made to | |
REM aid myself. | |
SET /A X=2 | |
SET /A Y=2 | |
:GAME2_START | |
CLS | |
IF %X%==0 ( |