I want to run a (printing) program from my session to run on the client (for there are the installed printers and drivers: local context).
I figured out a way to create a "self-destructive-run-once" command file, but I do not find a way to execute this on the client from the webUI.
Any suggestions?
I figured out a way to create a "self-destructive-run-once" command file, but I do not find a way to execute this on the client from the webUI.
Code:
@echo off
cls
echo. Printing WorkOrder
\\SRV_PROG\PROGS\FoxitReader\FoxitReader.exe /t \\SRV_PDF\WorkOrder\MyWorkOrder.pdf \\SRV_PRNT\PDF_PRINTER
echo. 1 Document sent to Printer
echo. Now delete "%~f0"
timeout /t 5
echo.
( del /q /f "%~f0" >nul 2>&1 & exit /b 0 )