需要帮助来编写基本的命令行代码

时间:2018-10-04 05:21:25

标签: command-line cmd

如果要使用Windows 10,我正在尝试将文件提交到“ oeminst”应用程序,该应用程序会将此文件从.EDR转换为.CCSS。根据该应用程序的网站,其使用摘要为:

oeminst [-options] [inputfiles]
 -v                      Verbose
 -n                      Don't install, show where files would be installed
 -c                      Don't install, save files to current directory
 -S d                    Specify the install scope u = user (def.), l = local system]
 infile                  Manufacturers setup.exe install file(s) or .dll(s) containing install files
 infile.[edr|ccss|ccmx]  EDR file(s) to translate and install or CCSS or CCMX files to install
                         If no file is provided, oeminst will look for the install CD.

more info can be found here https://www.argyllcms.com/doc/oeminst.html

到目前为止,我尝试了以下代码:

C:\Users\PC>oeminst infile. [C:\Users\PC\testfile.edr]
oeminst: Error - Unable to load file 'infile [C:\Users\PC\testfile]'

如果至少有人能告诉我我做得对还是不对,我将不胜感激。

P.S。抱歉,文本混乱。不知道如何解决它。在编辑模式下看起来不错。

2 个答案:

答案 0 :(得分:0)

尝试一下:oeminst infile.edr C:\ Users \ PC \ testfile.edr

答案 1 :(得分:0)

没关系,我明白了。

C:\ Users \ PC> oeminst C:\ Users \ PC \ testfile.edr