I have written a batch file that part of its function is to initiate a remote desktop connection with another computer on the network. When the batch file gets to the remote connection command, the remote connect window appears and I have to press the "connect" button for the process to continue. The remote desktop app already has the address, and log on credentials in it. How can I have this connection happen as part of the batch file?
Below is the troublesome part of my batch file:
rem Runs Access with Autoexec macro that will generate updated parts table then exit
"C:Program FilesMicrosoft OfficeOfficemsaccess.exe" "C:webqueryparts.mdb" /excl
rem Starts Remote Desktop for webquery machine
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!