FBWF豁免写保护列表增加文件注意

本文详细解释了在编程中,当路径包含空格时,如何使用双引号进行正确括号以避免执行失败的问题。通过实例演示了正确的路径写法,确保程序能够正确识别并操作文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

如果路径中有空格,要用双引号括起来!


例如:

fbwfmgr  /addexclusion c: "\program files\ez\ez.ini"


"program files"中间有个空格,不把路径括起来的话就会导致失败。


The FBWF Manager is a command line tool for embedded developers to quickly integrate and prototype the FBWF. FBWF Manager is intended primarily for design time use. The FBWF Manager command line syntax follows: fbwfmgr [/? | /help /[switch] | /displayconfig | /overlaydetail | /enable | /disable | /addvolume [volumename] | /removevolume [volumename] [1|0] | /addexclusion [path] | /removeexclusion [path] | /setthreshold [threshold] | /setcompression [1|0] | /setpreallocation [1|0] ] The following table describes the command line switches. Switch Description displayconfig Displays all configuration information for the write filter including protected volumes list, overlay configuration and write through paths. The command returns: State—Indicating current filter state (enable or disable) and state for next boot. Protected Volumes—List of protected volumes including the current and next boot state. Compression—Current and next boot state for cache compression. Threshold—Current and next boot values for the overlay cache threshold. Write Through Paths—Displays a complete list of active and next boot write through paths. Pre-allocation Status—Displays current and next boot status for cache pre-allocation. overlaydetail Displays detail on the current overlay contents for all protected volumes. The command returns: Contents—Files and folders currently in the overlay for all protected volumes including sizes (size of data in overlay) and open file handles. Memory Usage—Total amount of memory being consumed by the overlay. enable Enables the write filter on the next restart. disable Disables the write filter on the next restart. addvolume Adds a volume to the protected volume list for next boot. removevolume Removes a volume from the protected volume list for next boot. addexclusion Adds a write through path to the exclusion list for next boot. removeexclusion Removes a write through path from the exclusion list for next boot. setthreshold Sets the overlay threshold value for next boot. setcompression Sets overlay compression as enabled (1) or disabled (0) for next boot. setpreallocation Sets cache pre-allocation as enabled (1) or disabled (0) for next boot. commitfile Commits a specified file. restorefile Restores a specified file. ? Displays usage and help. help / [switch] Displays help information for a specific FBWF Manager switch.
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值