Batch file output BatchPatch Forums Home › Forums › BatchPatch Support Forum › Batch file output This topic has 1 reply, 2 voices, and was last updated 7 years, 9 months ago by doug. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts March 8, 2017 at 3:41 pm #9138 cacalexParticipant Hi, I am trying to run a simple batch file on remote computers, and retrieve the output. This is the file: @echo off echo Test I did create a new deployment, checked the “retrieve output” checkbox, but it does not work. I get “Could not find file ‘\(computer name)C$Program FilesBatchPatchdeploymentBatchPatchDeploymentOutput1559882188.log’.” and exit code:1 What am I doing wrong? How can I run a batch file and get the output of it? Thanks! March 8, 2017 at 6:39 pm #11009 dougModerator Unfortunately this feature will not work with all scripts in all cases and will sometimes cause a deployment to fail/error. A couple of alternatives: You could use a vbscript file (filename.vbs) with content: wscript.echo “hello” You could us a powershell file (filename.ps1) with content: write-host hello Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In