So I'm trying to write scripts that will move files around to fix some issues on a computer. Moving files around on the same computer is one thing, but is there a way in a bat file to transfer a file from the host computer to the remote through logmein rescue?
Thanks,
Found a way to have the script finding the location of the temporary folder in the remote computer by using the command%~dp0
Before the resource file (or the file to be trasfered).
However, still didn't figured out how to move the file from there to the user AppData\Roaming for example.
It gives an error: Invalid Number of Parameters
I'm in the same situation here:tried this: XCOPY /y C:\LogMeIn_Scripts\script_name\resource file %appdata%\destination folder
Didn't work, because the source doesn't exist in the destination computer, what LogMeIn does is to copy the resource file over to a temporary folder in the remote computer.Would be good to figure out how to copy from whatever temporary folder LMI creates in the remote computer to the destination folder.
If you found this discussion useful, why not register/sign-in? It only takes a minute to share your feedback, ask a question, or vote for a new feature!