-
Notifications
You must be signed in to change notification settings - Fork 1
/
windows.bat
542 lines (442 loc) · 11.2 KB
/
windows.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
@ECHO off
//Automatically Run As Administrator
setlocal EnableDelayedExpansion
Title Windows Command Prompt for Newbie
PUSHD %~DP0 & cd /d "%~dp0"
%1 %2
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :runas","","runas",1)(window.close)&goto :eof
:runas
// Run As Administrator
// color b
cls
echo Loading, sedang menyiapkan file program
echo Loading, Preparing program
@echo.
echo loading 0%
ping localhost -n 4 >nul
cls
echo loading 90%
ping localhost -n 2 >nul
cls
echo loading 100%
ping localhost -n 1 >nul
cls
@echo.
cls
echo update 12 Feb 2022 at 4:44 PM
@echo.
echo CHANGELOG:
@echo.
echo 1. Adding Defragment for optimization PC
echo 2. Mode Blind or No Blind with Color
echo 3. Donate for Me :3 hehe
echo 4. Adding Feature ChMac (Change Mac Address/IP Address)
@echo.
echo enter for continue
pause
:Blin
echo.
echo Are you Blind with color or no ? [Y/n] :
set /p sy=" Blind or No ? : "
if '%sy%'=='Y' goto :blind
if '%sy%'=='y' goto :blind
if '%sy%'=='N' goto :NoBlind
if '%sy%'=='n' goto :NoBlind
echo "%sy%" Invalid, try again | gagal, coba lagi
echo.
goto :Blin
:NoBlind
color 0B
goto start
:blind
color 6
goto start
:start
@cls
echo.
echo.
echo.
@echo ++ 000 000 00000 000 000 000 000 000 000000000 00000000 000000
@echo ++ 000 000 000 000 000 000 000 000 000 000 000 000 0
@echo ++ 000 000 000 000 000 000 000 000 000000000 000000 000000
@echo ++ 000 000 000 000 000 000 000 000 000 000 000 000 0
@echo ++ ______ 000 000 000 00000 000000000 000 000000000 000 000 000000
@echo.
@echo Made By Xnuvers007
@echo From : INDONESIA
@echo off
echo 0. exit
echo 1. Laporan Baterai / Battery Report
echo 2. Hapus File Tidak terpakai atau Cache (Aman) / Remove cache
echo 3. Jaringan wifi tidak ditemukan (Problem Wifi) / No Wifi Network Found
echo 4. Scan Harddisk
echo 5. System Info
echo 6. Wifi Password Viewer
echo 7. Youtube Downloader Mp3/Mp4
echo 8. Show windows version
echo 9. Microsoft Info Spec your PC
echo A. Hidden and unhidden folder
echo B. Network Statistics
echo C. Trace Route
echo D. Donate Programmer/Author
echo E. Chmac (Change Mac Address, etc.) from Wandersick
@echo.
set /p choice="Menu : "
cls
if '%choice%'=='1' goto :bat
if '%choice%'=='2' goto :remo
if '%choice%'=='3' goto :netw
if '%choice%'=='4' goto :sc
if '%choice%'=='5' goto :sysinfo
if '%choice%'=='0' goto :exit
if '%choice%'=='6' goto :wf
if '%choice%'=='7' goto :youtube
if '%choice%'=='8' goto :version
if '%choice%'=='9' goto :msinfo32
if '%choice%'=='A' goto :attrib
if '%choice%'=='a' goto :attrib
if '%choice%'=='B' goto :netstat
if '%choice%'=='b' goto :netstat
if '%choice%'=='C' goto :tracert
if '%choice%'=='c' goto :tracert
if '%choice%'=='D' goto :Donate
if '%choice%'=='d' goto :Donate
if '%choice%'=='e' goto :ChMacss
if '%choice%'=='E' goto :ChMacss
echo "%choice%" Invalid, try again | gagal, coba lagi
echo.
goto :start
// Echo execution completed, any key to exit
// pause >nul
// exit
:bat
powercfg /batteryreport /output "C:\battery.html"
:batul
echo 1. Firefox
echo 2. Edge
echo 3. Chrome
echo ingin membukanya dimana ? | want to open with ?
set choice2=
set /p choice2="Menu : "
if not '%choice2%'=='' set choice2=%choice2:~0,1%
if '%choice2%'=='1' goto :Firefox
if '%choice2%'=='2' goto :Edge
if '%choice2%'=='3' goto :Chrome
echo "%choice2%" Invalid, try again | gagal, coba lagi
echo.
goto :batul
:Firefox
start firefox file:\\\C:\battery.html
goto start
:Edge
start msedge file:\\\C:\battery.html
goto start
:Chrome
start chrome file:\\\C:\battery.html
goto start
:exit
pause
exit
:remo
echo sedang memeriksa file temporary | checking file temporary
ping localhost -n 4 >nul
del /q/f/s %TEMP%\*
echo sedang memeriksa Recycle Bin | checking Recycle Bin
ping localhost -n 3 >nul
cd C:\
cd $Recycle.Bin
cleanmgr /sagerun:1
echo sedang memerika folder Prefetch / temporary 2 | checking folder Prefetch
ping localhost -n 3 >nul
cd C:\Windows\Prefetch
del /Q /F /S C:\Windows\Prefetch\*
del C:\Windows\Prefetch\*
goto start
:netw
netsh int ip reset resetlog.txt
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
goto start
:sc
echo Melakukan Defragmenting | optimizing and defragmenting all Connected Storage Drives
ping localhost -n 5 >nul
echo.
defrag /c /a /o /u
ping localhost -n 2 >nul
echo Melakukan Scanning Harddisk | Scan your Harddisk
ping localhost -n 5 >nul
echo.
sfc /scannow
ping localhost -n 2 >nul
echo mencoba untuk memperbaiki dan menemukan Kesalahan pada Harddisk | try to fix and find problem in your harddisk
ping localhost -n 5 >nul
echo.
CHKDSK c: /r /f
echo.
echo Done u can go to back to start
pause
goto :start
:sysinfo
systeminfo
pause
goto start
:wf
cls
echo.
echo === WiFi Password Viewer ===
echo --------------------------------
echo Author : Xnuvers007
echo Website : https://mykingbee.blogspot.com
echo Github : https://github.com/Xnuvers007
echo Instagram : https://www.instagram.com/indradwi.25/
echo --------------------------------
echo.
echo 1 - View all saved WiFi profiles
echo 2 - View password for selected SSID
echo 3 - Go Back
echo.
set /p num="Enter Number: "
if %num%==1 goto show
if %num%==2 goto getpass
if %num%==3 goto back
goto wf
:back
goto start
:show
cls
echo.
echo === WiFi Password Viewer ===
echo --------------------------------
echo Author : Xnuvers007
echo Website : https://mykingbee.blogspot.com
echo Github : https://github.com/Xnuvers007
echo Instagram : https://www.instagram.com/indradwi.25/
echo --------------------------------
echo.
netsh wlan show profiles
pause
goto wf
:getpass
cls
echo.
echo === WiFi Password Viewer ===
echo --------------------------------
echo Author : Xnuvers007
echo Website : https://mykingbee.blogspot.com
echo Github : https://github.com/Xnuvers007
echo Instagram : https://www.instagram.com/indradwi.25/
echo --------------------------------
echo.
set /p ssid="Enter SSID Name: "
cls
echo.
echo === WiFi Password Viewer ===
echo --------------------------------
echo Author : Xnuvers007
echo Website : https://mykingbee.blogspot.com
echo Github : https://github.com/Xnuvers007
echo Instagram : https://www.instagram.com/indradwi.25/
echo Donate : https://saweria.co/xnuvers007
echo --------------------------------
echo.
echo.
echo SSID Name:
netsh wlan show profile name="%ssid%" key=clear | findstr /a:4 "name"
echo.
echo Security mode:
netsh wlan show profile name="%ssid%" key=clear | findstr /a:4 "Authentication"
echo.
echo WiFi Password:
netsh wlan show profile name="%ssid%" key=clear | findstr /a:4 "Key"
echo.
echo [41m*If results empty, Please run this program as Administrator and/or check your entered SSID name. [0m
pause>nul
goto wf
:youtube
@echo off
:yt
cls
echo === Youtube Downloader ===
echo --------------------------------
echo Author : Xnuvers007
echo Website : https://mykingbee.blogspot.com
echo Github : https://github.com/Xnuvers007
echo Instagram : https://www.instagram.com/indradwi.25/
echo Donate : https://saweria.co/xnuvers007
echo --------------------------------
echo.
cd Setting
for /f "tokens=* delims=" %%x in (DirToSave.txt) do set dir=%%x
if %dir%== goto errset
for /f "tokens=* delims=" %%x in (DownloadCopy.txt) do set dow=%%x
if %dow%==Y goto yt2
if %dow%==y goto yt2
if %dow%=="" goto errset
for /f "tokens=* delims=" %%x in (Mp3_OR_Mp4.txt) do set mp=%%x
if %mp%==mp4 goto mp4
if %mp%==Mp4 goto mp4
if %mp%==mP4 goto mp4
if %mp%==MP4 goto mp4
if %mp%==video goto mp4
if %mp%==Video goto mp4
if %mp%==VIDEO goto mp4
goto yt1
:mp4
cd ..
cd Lib
set /p id="Enter video url: "
echo.
youtube-dl -F %id%
echo.
set /p qua="Select video quality: "
youtube-dl -f %qua% -o %dir%\%%(title)s.%%(ext)s %id%
echo.
pause
cd ..
goto yt
:yt2
cd ..
cd Lib
set /p id="Enter video url: "
youtube-dl --extract-audio --audio-format "mp3" --audio-quality 0 --youtube-skip-dash-manifest -o Download\%%(title)s.%%(ext)s %id%
youtube-dl --extract-audio --audio-format "mp3" --audio-quality 0 --youtube-skip-dash-manifest -o %dir%\%%(title)s.%%(ext)s %id%
pause
cd ..
goto yt
:yt1
cd ..
cd Lib
set /p id="Enter video url: "
youtube-dl --extract-audio --audio-format "mp3" --audio-quality 0 --youtube-skip-dash-manifest -o %dir%\%%(title)s.%%(ext)s %id%
pause
cd ..
goto yt
:errset
echo This is an empty file in the folder setting, please fill out correctly all the settings
echo.
pause
goto yt
:version
echo your Windows version is
@echo.
ver
@echo.
pause
goto start
:msinfo32
msinfo32
@echo.
pause
goto start
:attrib
echo the folder hidden and unhidden named Xnuvers007 in C:\Xnuvers007
echo.
echo enter to continue
pause
if not exist "C:\Xnuvers007" md "C:\Xnuvers007"
set ask=
set /p ask="Do you Want to show / hidden ? S/H : "
if not '%ask%'=='' set ask=%ask:~0,1%
if '%ask%'=='S' goto :show
if '%ask%'=='s' goto :show
if '%ask%'=='h' goto :hidden
if '%ask%'=='H' goto :hidden
echo "%ask%" Invalid, try again | gagal, coba lagi
:show
attrib -h -s -r "C:\Xnuvers007"
echo the folder has been showed/unhidden
@echo.
pause
goto start
:hidden
attrib +h +s +r "C:\Xnuvers007"
echo the folder has been hidden
@echo.
pausenote
goto start
:netstat
echo wait until finished
@echo.
netstat
pause
goto start
:tracert
echo this is menu for trace route your network
@echo.
echo ============ LISTS ===============
echo 2 Normal (Recommended)
echo 4 Force using IPv4.
echo 6 Force using IPv6.
echo ==================================
@echo.
set /p tra="Choice : "
if '%tra%'=='2' goto :ip
if '%tra%'=='4' goto :ip4
if '%tra%'=='6' goto :ip6
echo "%tra%" Invalid, try again | gagal, coba lagi
:ip
echo wait until finished
@echo.
set /p tar="enter the target : "
tracert %tar%
@echo.
pause
goto start
:ip4
echo wait until finished
@echo.
set /p tar2="enter the target : "
tracert %tar2% -4
@echo.
pause
goto start
:ip6
echo wait until finished
@echo.
set tar3=
set /p tar3="enter the target : "
if not'%tar3%'=='' set tar3=%tar3:~0,1%
tracert %tar3% -6
@echo
pause
goto start
:ChMacss
chmac.bat
echo.
pause
exit
:Donate
echo u want me to open browser ?
echo 1. Firefox
echo 2. Edge
echo 3. Chrome
echo 4. Back To Start
echo 5. Exit
set pilihan=
set /p pilihan="Menu : "
if not '%pilihan%'=='' set pilihan=%pilihan:~0,1%
if '%pilihan%'=='1' goto :Fi
if '%pilihan%'=='2' goto :Ed
if '%pilihan%'=='3' goto :Ch
if '%pilihan%'=='4' goto :start
if '%pilihan%'=='5' goto :exit
echo "%pilihan%" Invalid, try again | gagal, coba lagi
echo.
goto :Donate
:Fi
start firefox https://saweria.co/Xnuvers007
start firefox https://trakteer.id/Xnuvers007
goto start
:Ed
start msedge https://saweria.co/Xnuvers007
start msedge https://trakteer.id/Xnuvers007
goto start
:Ch
start chrome https://saweria.co/Xnuvers007
start chrome https://trakteer.id/Xnuvers007
goto start
:exit
pause
exit