一个用PowerShell打开文档并将其另存为的脚本
[plain$wdApp = New-Object -Com Word.Application
$wdApp.Visible = $true
$File1 = '*****************************'
$File2 = '*****************************'
$wdDoc = $wdApp.Documents.Open($File1)
$wdFormatDocumentDefault = 16
$wdDoc.SaveAs2([ref]$File2,[ref]$wdFormatDocumentDefault)
$wdApp.Quit()
补充:Web开发 , ASP.Net ,