.


:




:

































 

 

 

 


.




 

(, COPY DIR). , , cmd.exe, Windows , , MORE XCOPY.

(, C:\>) ( ), ( ) <Enter>. :

C:\>COPY C:\myfile.txt A:\ /V

COPY, C:\myfile.txt A:\, /V. , /, - (), , -V.

 

 

1.2 Windows 10

 

Windows . , . /?. , ECHO /?, :

.ECHO [ON | OFF]ECHO [message] ECHO .

. MORE |, :

XCOPY /? | MORE

. , > >>, . , XCOPY xcopy.txt, :

XCOPY /? > xcopy.txt

. Windows : PRN (), CON (: , ), NUL ( , / ).

 

1. 1.2.4. /

/ , . , , , :

( ), ( );

( ), ( );

, , ( ).

, , - , ,

> _

, , , . , , , . :

>> _

< , :

< _

.

1. COPY copy.txt:

COPY /? > copy.txt

2. XCOPY copy.txt:

XCOPY /? >> copy.txt

, . ( )

2 > _

. . :

> _ 2>&1

, copy.txt:

XCOPY D:\1.txt C: > copy.txt 2>&1

,

1 | 2

, , ( ).

MORE, SORT TYPE

MORE , . :

MORE [:][]_ _ | MORE

[:][]_ . _ , (, DIR TYPE, ). .

news.txt :

MORE news.txtTYPE news.txt | MORE

, / , SORT. : , , . :

SORT [/R] [/+n] [[1:][1]1] [> [2:][2]2]

[ |] SORT [/R] [/+n] [> [2:][2]2]

[1:][1]1 , . . 1 , SORT . [2:][2]2 , ; , .

. /R ( Z A 9 0). , price.txt, :

SORT /R < price.txt |MORE

/+n n. , /+10 , , . .





:


: 2018-10-18; !; : 1563 |


:

:

- - , .
==> ...

1458 - | 1464 -


© 2015-2024 lektsii.org - -

: 0.009 .