gpt4 book ai didi

windows - 自动应答 Y 窗口命令网络共享/删除

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

我尝试在 Windows 中自动应答 net 命令。

echo Y | net share /delete ServerShare_XXX

net share /delete ServerShare_XXX && echo y

我无法确认自动回答 y。请帮助我。

C:\WINDOWS\system32>echo y | net share /delete ServerShare_XXX
Users have open files on ServerShare_XXX. Continuing the operation will force the files closed.

Do you want to continue this operation? (Y/N) [N]:
No valid response was provided.

最佳答案

net share ServerShare_XXX /delete /yes

关于windows - 自动应答 Y 窗口命令网络共享/删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43466818/

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