Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

WebUI Alternative for start.application.local

$
0
0
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.
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 )

Any suggestions?

Viewing all articles
Browse latest Browse all 4216

Trending Articles