我试图使用以下命令以持久模式映射驱动器,我不希望它每次重启机器时都要求登录凭据:
net use P: \\server\folder Password123 /user:user123 /savecred /persistent:yes
Run Code Online (Sandbox Code Playgroud)
但我得到了以下错误:
A command was used with conflicting switches.
More help is available by typing NET HELPMSG 3510.
Run Code Online (Sandbox Code Playgroud)
我遵循了这篇文章:http://pcsupport.about.com/od/commandlinereference/p/net-use-command.htm
请帮助解决这个问题.
我试图用 aQComboBox和 a构建一个简单的应用程序QPushButton。这个想法是QComboBox用系统中所有可用字体的列表来填充。当用户选择一种字体并按 时,QPushButton将QMessageBox出现 并显示所选字体。现在该怎么办呢?