Toolsmith development, craft, automation and QA reporting: technical lights and highlights.
Launch TightVNC using the Computer Name - or - How to Get IP from Computer Name in MS-DOS Batch
First, knowing the name of a computer, we want to get its IP. The script below does it for you. I called it 'GetIpFromName.bat' and I put the IP in a variable called 'GetIpFromName':.
Then we need to call 'GetIpFromName.bat' and launch VncViewer. I called the script 'StartVncViewer.bat'.
Finally, if I often need to access a computer called, say, Bambi, I create a script called 'VncBambi.bat' on my desktop.
Batch and Shell
Post a Comment
Post Comments (Atom)