Run a batch file silently, executed at remote desktop login
- by ILMV
In our office we are using Linux thin client machines, they work very well except the lack of IE, which is a pain because the corporations we deal with are too stupid to update their web apps (no flame wars please).
To solve this problem we have machine in our computer room which users remote desktop into to access internet explorer, this is achieved by running a batch script which opens IE and when it closes logs them off, this setup works well for us.
Even though I have @echo off and the cmd window isn't displaying anything, I would really like that batch file to be executed silently, so the cmd window doesn't appear at all.
Is this possible?
The Ubuntu terminal server client has an option to launch a file / app at login, is there a command I can use to run this batch silently.
I have tried these:
C:\my_batch.bat /NOCONSOLE
C:\my_batch.bat /NOWINDOW
C:\my_batch.bat /B
C:\my_batch.bat /Q
...with no success, perhaps it's the way I am doing it?
Cheers :-)
Edit
The remote desktop platform is a Windows XP machine, nothing entirely special but not a Windows Server setup.