Skip to content

Commit 164cb96

Browse files
authored
Updated to v1.4.3 features.
1 parent 5412418 commit 164cb96

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

source-Vue.bat

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Title %version%
2727
Set timeout_max=250
2828

2929
::SET YOUR SEARCH CRITERIA
30-
set search_mode=4
30+
set search_mode=5
3131
::1 = Images
3232
::2 = Videos
3333
::3 = Music
@@ -36,13 +36,15 @@ Title %version%
3636

3737
::FILE TYPES - Add any file extensions you may find useful.
3838
::Image file types
39-
set file_image=.png .jpg .jpeg .webp
39+
set file_image=.png .jpg .jpeg .webp .gif .bmp .tiff
4040
::Video file types
41-
set file_video=.mp4 .mkv .mov .webm
41+
set file_video=.mp4 .mkv .mov .webm .avi .wmv .mpeg
4242
::Music file types
43-
set file_music=.mp3 .m4a .wav .wma
44-
::Invalid file types or keywords to save you headache on avoiding certain files. Can be left empty.
45-
set file_filter=.exe
43+
set file_music=.mp3 .m4a .wav .wma .flac .aac .ogg
44+
::Allowed file types or keywords. CASE SENSITIVE
45+
set allowed_filter=
46+
::Blocked file types or keywords.
47+
set blocked_filter=.exe
4648

4749
::#### END OF CONFIG ####
4850

@@ -66,6 +68,7 @@ For /f %%f in ('dir "%directory%" /b /s') do set /a count+=1
6668

6769
::Step 2
6870
:Randomizer
71+
CLS
6972
Color %color_code%
7073
Echo %timeout% | findstr %timeout_max% >nul && (goto Error-TimedOut) || (Echo Attempt %timeout%/%timeout_max% till Timeout...)
7174
::timeout 1 >nul
@@ -93,8 +96,9 @@ goto Review
9396

9497
::Step 3
9598
:Review
99+
Echo %filename% | findstr /v "%allowed_filter%" >nul && (goto Randomizer)
96100
Echo %filename% | find /v "%file_all%" >nul && (goto Randomizer)
97-
Echo %filename% | findstr /i "%file_filter%" >nul && (goto Error-InvalidFile)
101+
Echo %filename% | findstr /i "%blocked_filter%" >nul && (goto Error-InvalidFile)
98102
::For /f %%A in ("%filename%") do set filesize=%%~zA
99103
Start "" "%filename%"
100104

0 commit comments

Comments
 (0)