-
Notifications
You must be signed in to change notification settings - Fork 0
/
ActiveTools.bat
59 lines (41 loc) · 1.08 KB
/
ActiveTools.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
@echo off
REM ActiveTools | v1
REM By Waittokill for the company Bsi
:menu
echo.
echo ActiveTools
echo.
echo 1 - Windows 10
echo 2 - Office
echo.
set /p reponse=" > "
If /i "%reponse%"=="" exit
If /i "%reponse%"=="1" goto :windows10
If /i "%reponse%"=="2" goto :office
:windows10
cls
cscript slmgr.vbs /dti
set /p str="Entrez l'id > "
cls
REM Aide https://www.dostips.com/DtTipsStringManipulation.php
echo Decoupage chaine de 63 caracteres en groupe de 7 caracteres :
echo.
echo 1 - %str:~0,7% 2 - %str:~7,7% 3 - %str:~14,7% 4 - %str:~21,7% 4 - %str:~28,7% 6 - %str:~35,7% 7 - %str:~42,7% 8 - %str:~49,7% 9 - %str:~56,7%
echo.
pause
pause
slui 4
exit
:office
cls
cscript OSPP.vbs /dinstid
set /p str="Entrez l'id > "
cls
REM Aide https://www.dostips.com/DtTipsStringManipulation.php
echo Decoupage chaine de 63 caracteres en groupe de 7 caracteres :
echo.
echo 1 - %str:~0,7% 2 - %str:~7,7% 3 - %str:~14,7% 4 - %str:~21,7% 4 - %str:~28,7% 6 - %str:~35,7% 7 - %str:~42,7% 8 - %str:~49,7% 9 - %str:~56,7%
echo.
pause
pause
exit