Hey all.
Im trying to make a script for a thin client like workstation.
The main issue im seeing with this project is the phone app they are useing.
It opens and wont forward the app untill you login, (but killing rdp you can then loginto the phone and chose all-ways ontop, on the application via its prefences. dosnt seem to allways work?)
Any ideas on how to script that?
mode con: cols=40 lines=10
@echo Please dont close this window.
@echo Connecting please wait..
@echo off
TITLE Please dont close this window.
timeout 15 >nul
start /max C:\BroadSoft\UC-One\Communicator.exe
timeout 60 >nul
start /wait mstsc.exe "C:\thinclient.rdp" /v:rds.spacedatacentres.co.uk /f /public
:choic
set /P c=Y to shutdown, N to reconnect.[Y/N]?
if /I "%c%" EQU "Y" goto :yes
if /I "%c%" EQU "N" goto :no
:no
start /wait mstsc.exe "C:\thinclient.rdp" /v:rds.spacedatacentres.co.uk /f /public
set /P c=Y to shutdown, N to reconnect.[Y/N]?
if /I "%c%" EQU "Y" goto :ifyes
if /I "%c%" EQU "N" goto :ifnot
:yes
shutdown -s -t 0