gpt4 book ai didi

.net - 暂停 GACUTIL.exe 列表

转载 作者:可可西里 更新时间:2023-11-01 11:11:14 24 4
gpt4 key购买 nike

在我的 Windows 系统上,我的 GAC 中有 3000 多个注册库。当我使用 gacutil/l 时,列表太大而无法放入我的命令输出窗口。我需要能够浏览以查看我的图书馆是否在列表中,有没有办法暂停列表或将其保存到文件中。

最佳答案

人们是如何忘记的。您可以将任何命令的输出通过管道传递给 more 命令。然后对输出进行分页:

gacutil /l | more

每次填满屏幕时,都会提示--more--。按空格键查看下一页。

more 也有很多选项(more/? 的输出):

Displays output one screen at a time.

MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename
command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
MORE /E [/C] [/P] [/S] [/Tn] [+n] [files]

[drive:][path]filename Specifies a file to display one
screen at a time.

command-name Specifies a command whose output
will be displayed.

/E Enable extended features
/C Clear screen before displaying page
/P Expand FormFeed characters
/S Squeeze multiple blank lines into a single line
/Tn Expand tabs to n spaces (default 8)

Switches can be present in the MORE environment
variable.

+n Start displaying the first file at line n

files List of files to be displayed. Files in the list
are separated by blanks.

If extended features are enabled, the following commands
are accepted at the -- More -- prompt:

P n Display next n lines
S n Skip next n lines
F Display next file
Q Quit
= Show line number
? Show help line
<space> Display next page
<ret> Display next line

关于.net - 暂停 GACUTIL.exe 列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52751671/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com