User-Defined Local Process Trouble BatchPatch Forums Home › Forums › BatchPatch Support Forum › User-Defined Local Process Trouble This topic has 2 replies, 2 voices, and was last updated 6 years, 7 months ago by timvb. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts March 30, 2018 at 12:19 pm #8939 timvbParticipant I’m trying to set up a process to connect to the host via TeamViewer. I have the command as: “C:Program Files (x86)TeamViewerTeamviewer.exe” -i $computer I’ve tried a few different variations, but I always end up with “Error: The parameter is incorrect”. Thanks! March 30, 2018 at 4:05 pm #10395 dougModerator BP is not parsing the space in your path properly. You essentially have two options: 1. Run this instead: cmd.exe /c "C:Program Files (x86)TeamViewerTeamviewer.exe" -i $computer OR 2. If you have Teamviewer in a path with no spaces, such as the following, it would also work: "C:SomeDirWithNoSpacesTeamViewerTeamviewer.exe" -i $computer March 30, 2018 at 4:35 pm #10396 timvbParticipant Awesome thank you doug, I could have swore did try that first option. You’re the best. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In