【问题标题】:How do I install a .sdb file with the command prompt?如何使用命令提示符安装 .sdb 文件?
【发布时间】:2014-01-02 08:06:39
【问题描述】:

我正在尝试配置 Windows,以便 UAC 在我每次打开 Winamp 时都不会请求许可。我为 Winamp 创建了一个 .sdb 文件,该文件将其作为调用程序运行并赋予它写权限并将其保存在:

C:\Program Files (x86)\Winamp\winamp compatability fix.sdb

然后,根据我的阅读,我应该能够以管理员身份运行 cmd 并使用命令:

sdbinst.exe -q C:\Program Files (x86)\Winamp\winamp compatability fix.sdb

安装它。

但是,当我这样做时,我得到了这个:

Error: Too many command-line arguments.

Usage: sdbinst [-?] [-q] [-u] [-g] [-p] [-n[:WIN32 |WIN64]] myfile.sdb | <guid> | "name"

   -? - print this help text.

   -p - Allow SDBs containing patches.

   -q - Quiet mode: prompts are auto-accepted.

   -u -Uninstall.

   -g <guid> - GUID of file <uninstall only>.

   -n "name" - Internal name of file <uninstall only>.

那么我到底做错了什么?

【问题讨论】:

  • 如果您将 Winamp 的属性更改为以管理员身份运行会怎样?够了吗?

标签: cmd command-line-arguments command-prompt


【解决方案1】:

尝试用引号将路径括起来,如下所示:

sdbinst.exe -q "C:\Program Files (x86)\Winamp\winamp compatability fix.sdb"

【讨论】:

    猜你喜欢
    • 2018-03-26
    • 1970-01-01
    • 2011-10-27
    • 2018-02-13
    • 1970-01-01
    • 2019-05-28
    • 1970-01-01
    • 1970-01-01
    • 2019-11-20
    相关资源
    最近更新 更多