Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: display remote display
You'd either have to have the WinBatch interpreter installed on the remote PC(s), or have a compiled WinBatch EXE on the machine(s).
Either the WBT or EXE on the remote machine would have to be running all the time in a While loop.
The WinBatch script on the LOCAL machine would copy a file to the remote machine, when you're ready to display the message on the REMOTE workstation.
The WinBatch script on the REMOTE machine would be looking for a file to appear in this continuous While loop, and once it shows up, it could put up a message box with the Message function, or you could use the Boxes functions to display a banner.
When you've finished doing what you need to do, then you can delete the flag file on the remote machine. Something like:
;local Winbatch script - first map to remote PC, then copy the file: AddExtender("WWW9534I.DLL") w95AddDrive(@default,@default,"\\SERVER\PUB","x:",@false) FileCopy("c:\localdir\flagfile.txt", "x:\flagfile.txt", @false) w95CancelCon("x:",@false,@false)And now for the remote script:
while @true ;run all the time if FileExist("flagfile.txt")==1 then Message("USER ALERT", "DON'T TOUCH THE KEYBOARD") FileDelete("flagfile.txt") endwhile
Article ID: W13270
Filename: Launch Winbatch on a Remote PC.txt
File Created: 2001:03:01:14:34:14
Last Updated: 2001:03:01:14:34:14