USBDeview 隐藏调用生成结果文件

论坛 期权论坛 脚本     
匿名技术用户   2021-1-4 03:00   368   0

Shell "C:\USBDeview.exe /scomma c:\12.txt ", vbHide
Shell "C:\USBDeview.exe /stabular c:\13.txt ", vbHide
Shell "C:\USBDeview.exe /SHTML c:\14.html ", vbHide
Shell "C:\USBDeview.exe /sverhtml c:\15.html ", vbHide
Shell "C:\USBDeview.exe /SXML c:\16.xml ", vbHide

Save Command-Line Options

/stext <Filename>

Save the list of all USB devices into a regular text file.

/stab <Filename>

Save the list of all USB devices into a tab-delimited text file.

/scomma <Filename>

Save the list of all USB devices into a comma-delimited text file.

/stabular <Filename>

Save the list of all USB devices into a tabular text file.

/shtml <Filename>

Save the list of all USB devices into HTML file (Horizontal).

/sverhtml <Filename>

Save the list of all USB devices into HTML file (Vertical).

/sxml <Filename>

Save the list of all USB devices to XML file.

/sort <column>

This command-line option can be used with other save options for sorting by the desired column. If you don’t specify this option, the list is sorted according to the last sort that you made from the user interface. The <column> parameter can specify the column index (0 for the first column, 1 for the second column, and so on) or the name of the column, like "Device Name" and "Description". You can specify the ‘~’ prefix character (e.g: "~Description") if you want to sort in descending order. You can put multiple /sort in the command-line if you want to sort by multiple columns.

Examples:
USBDeview.exe /shtml "f:\temp\usb-list.html" /sort 2 /sort ~1
USBDeview.exe /shtml "f:\temp\usb-list.html" /sort "Device Type" /sort "Device Name"

/nosort

When you specify this command-line option, the list will be saved without any sorting.

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP