我想从PHP中提取存档文件(zip,rar,z7,gz等)。由于密码可以包含特殊字符(例如¡),并且PHP exec不支持unicode字符(出于某种原因)。我用这个php exec() in unicode mode?中解释的批处理文件来支持它。 但是,一样可爱的窗户10,我似乎无法弄清楚如何提取具有单一双引号作为密码存档... "C:\Program Files\7-Zip\7z.exe" x
这是我目前使用的代码: # Don't include "\" at the end of $NewSource - it will stop the script from
# matching first-level subfolders
$ignore = "somename"
$files = gci $NewSource -recurse | Where {
$_.Ext
我想使用宏压缩与7z文件夹,但是当我将参数添加到命令行程序显示我与他们的错误(这是在西班牙语,但我想,正确的翻译是“不正确的参数”)。 System error: El parámetro no es correcto. 有子程序: Sub ZipDLEFolder()
Dim strCommand As String
Dim z7Path As String
Dim fnDestinat