Batch file doesnt run after deploying from SCCM
I have a batch file which uses gpresult /v and saves the output in a text file and copy that text file to a shared folder. This batch when i run on my local machine works perfectly fine but once i deploy it through SCCM it says can not open file with error code 4. I dont know what is wrong in the file.

the code is Like this:

@echo off

gpresult /v >%computername%.txt

xcopy %computername%.txt \som

January 15th, 2014 7:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics