Bat file failing to successfully deploy SCCM?

276 Views Asked by At

I have deployed a bat file to a device using the with file name as the install line e.g. app.bat

It is a simple one line piece of code:

for /d %I in ("C:\ProgramData\theapp*") do "%~I\theapp.exe"

But this fails to deliver and I I receive a generic 1006 error. Could this issue be realted to the bat file itself?

0

There are 0 best solutions below