Bonjour,
Je souhaiterai optimiser le code suivant :
Pourriez-vous me donner un petit coup de main s'il vous plaît?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 @echo off if "%1"=="" goto:-h if "%1"=="-v" if not "%2"=="" goto:-h if "%1"=="-v" if "%2"=="" goto:-v if "%1"=="-h" if not "%2"=="" goto:-h if "%1"=="-h" if "%2"=="" goto:-h if "%1"=="-c" if "%2"=="" goto:-h if "%1"=="-c" if "%2"=="%~dpn2" goto:-c if "%1"=="-g" if "%2"=="" goto:-h if "%1"=="-g" if "%2"=="%~dpn2" goto:-g goto:-h :-c echo -c goto:eof :-g echo -g goto:eof :-v echo -v goto:eof :-h echo -h goto:eof
Merci
Partager