Batch-file

[Pages:84]batch-file

#batch-file

1

1:

2

2

Examples

2

2

2

3

2: cmd.exe

4

4

4

Examples

4

4

4

4

4

4

5

5

5

5

5

3: Goto

6

6

6

6

6

Examples

6

6

7

4: If

8

8

8

1

8

8

Examples

8

IF

8

9

Errorlevel

9

.

10

10

5:

11

11

Examples

11

11

11

setlocal endlocal

12

12

12

13

6:

14

14

14

Examples

14

14

( )

14

15

15

CD / D

15

15

7:

16

16

16

16

Examples

16

16

16

8:

18

18

Examples

18

18

18

A

18

A

18

B

18

B

18

18

18

A

19

A

19

B

19

9: (Windows) (Linux)

21

21

21

Examples

21

Bash

21

23

10: JSCript

24

24

Examples

24

JScript

24

JScript

24

11:

26

26

Examples

26

26

26

$

26

26

26

26

12: Powershell

28

Examples

28

Powershell

28

POWERSHELL Powershell

28

Powershell /

29

13:

30

30

Examples

30

30

30

30

31

31

31

31

14: For

32

32

32

Examples

32

32

33

33

33

15:

35

Examples

35

35

36

UAC

36

16:

39

Examples

39

39

39

39

.

39

39

40

41

41

42

44

17:

45

45

Examples

45

PowerShell

45

jscript

45

,

45

18:

46

Examples

46

46

46

32767

46

46

46

47

47

47

19:

48

48

48

Examples

48

REM

48

48

48

49

49

WSF

49

20:

51

51

Examples

51

51

51

51

51

xcopy

52

N

52

21:

54

Examples

54

54

APPEND

55

BITSADMIN

55

22:

56

56

56

56

56

Examples

56

56

56

57

.

57

58

@

59

59

23: VBS

60

60

Examples

60

VBS

60

vbscript

60

24:

62

Examples

62

62

62

25:

63

63

63

63

Examples

63

63

63

65

26:

66

Examples

66

66

9

66

67

27:

68

68

68

68

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download