블로그 이미지
SW개발에 있어 Process와 Automation에 관심이 많습니다. 저랑 취향이 비슷한 분과 교류하고 싶습니다.
nberserk

Recent Comment

Recent Trackback

Archive

calendar

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
  • 36,862total
  • 2today
  • 30yesterday
2009/06/06 17:41 script mania/powershell
#You need to install "Microsoft Office 2007 Add-in: Microsoft Save as PDF or XPS"
$word = new-object -ComObject "word.application"
$doc = $word.documents.open("C:\document.doc")
$saveaspath = [ref] "c:\document.pdf"
$formatPDF = [ref] 17
$doc.SaveAs($saveaspath,$formatPDF)
$doc.Close()
posted by nberserk

댓글을 달아 주세요

 <PREV 1 2 3 4 5 ... 161    NEXT>