Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set server= server
- set user= user
- set password= pw
- cd C:pathway
- del *.pdf
- cd
- cd C:TempTableau_Server2018.2extrasCommandLineUtility
- tabcmd login -s %server% -u %user% -p %password%
- for /f "tokens=*" %%a in (C:pathwayViews.txt) do call :processline %%a
- cd C:pathway
- call "C:pathwaypdf_del.bat"
- Powershell.exe -executionpolicy remotesigned -File C:pathwayEmailDistribution.ps1
- pause
- :processline
- echo Creating PDF for Program %*
- tabcmd export "OvertimeDashboard/%*&:refresh" --pdf --pagelayout landscape --pagesize unspecified -f "C:pathway%*.pdf"
Add Comment
Please, Sign In to add comment