Guest User

Untitled

a guest
Aug 22nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. @echo off
  2. set server= server
  3. set user= user
  4. set password= pw
  5. cd C:pathway
  6. del *.pdf
  7. cd
  8. cd C:TempTableau_Server2018.2extrasCommandLineUtility
  9. tabcmd login -s %server% -u %user% -p %password%
  10. for /f "tokens=*" %%a in (C:pathwayViews.txt) do call :processline %%a
  11. cd C:pathway
  12. call "C:pathwaypdf_del.bat"
  13. Powershell.exe -executionpolicy remotesigned -File C:pathwayEmailDistribution.ps1
  14. pause
  15.  
  16. :processline
  17. echo Creating PDF for Program %*
  18. tabcmd export "OvertimeDashboard/%*&:refresh" --pdf --pagelayout landscape --pagesize unspecified -f "C:pathway%*.pdf"
Add Comment
Please, Sign In to add comment