:start
if exist "C:\Temp\Word\*.docx" (
for %%x in (C:\Temp\Word\*.docx) do "C:\Program Files\Microsoft Office\Office16\WINWORD.EXE" "%%x" /q /n /mFilePrintDefault /mFileExit /mFileCloseOrExit
)
Del C:\temp\Word\*.docx
timeout /t 90
goto start
Docto (批此轉檔程式)
- Convert Doc/RTF/Text file to any Word SaveAs Type Doc/Text/RTF/PDF
- Convert XLS/XLSX/CSV file to any Excel SaveAs Type CSV/Text/PDF
- Convert Text/CSV file to full fledged Word or Excel format.
下載回來 新建批次檔
以下是每90秒檢查C:\Word 資料夾 如果有檔案就轉檔成PDF至C:\PDF資料夾
@echo off
:start
"C:\docto\docto.exe" -WD -f "C:\Word" -o "C:\PDF" -t wdFormatPDF
Del C:\Word\*.docx
timeout /t 90
goto start
輸入keyword 在SNlist 裡面 可以在特地路徑(Z槽)裡搜尋 並且把檔案拷貝出來
-----------------------------------------------------------------------------------------------------------------------
沒有留言:
張貼留言