|
|
|
Как в BAT-файле задать одновременный вывод лога на экран и в файл?
|
|||
|---|---|---|---|
|
#18+
сабж ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.09.2006, 11:01 |
|
||
|
Как в BAT-файле задать одновременный вывод лога на экран и в файл?
|
|||
|---|---|---|---|
|
#18+
hnkovrсабж одной строкой никак, ибо и экран и файл два разных устройства вывода можно так Код: plaintext 1. 2. можно так Код: plaintext 1. 2. 3. можно так Код: plaintext 1. Код: plaintext 1. 2. еще? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.09.2006, 11:24 |
|
||
|
Как в BAT-файле задать одновременный вывод лога на экран и в файл?
|
|||
|---|---|---|---|
|
#18+
не одновременно, но всё же: Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.09.2006, 12:28 |
|
||
|
Как в BAT-файле задать одновременный вывод лога на экран и в файл?
|
|||
|---|---|---|---|
|
#18+
В аттаче аналог никсового tee ;). автор tee NAME tee - pipe fitting (duplicate standard input) SYNOPSIS tee [-ai] [file ...] DESCRIPTION The tee(1) utility copies standard input to standard output, making a copy in zero or more files. The output is unbuffered. The following options are available: -a Append the output to the files rather than overwriting them. -i Ignore the SIGINT signal. The file is a path name of an output file. The tee(1) utility takes the default action for all signals, except in the event of the -i option. DIAGNOSTICS The tee(1) utility exits 0 on success, and >0 if an error occurs. Удачи! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.09.2006, 12:42 |
|
||
|
|

start [/forum/topic.php?fid=26&msg=34009610&tid=1509421]: |
0ms |
get settings: |
6ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
24ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 239ms |
| total: | 321ms |

| 0 / 0 |
