Script fails with error : The extended attributes are inconsistent

Script fails with error : The extended attributes are inconsistent

I have tried several different methods to get this script to work.   When running it locally on a machine it works just fine.  I have a bat program that has several user responses it waits for.  I am trying to feed the program the responses using a text file.  My local command looks like this:  ToolsOnly.bat < response.txt

How can I make this work using a Custom Script (Computer) Configuration?  I've tried using both the script repository and command line options under Execute Script from / Run.  I've tried not using quotes "" around the files in question, using quotes, creating another cmd/bat to call this function, etc.  Just cannot get it to work.  The error is always "Script fails with error : The extended attributes are inconsistent".

EDIT:  I got it working.  Needed to choose "Run As User" and choose a domain admin account.  The script syntax that finally worked in a .cmd file was:

cd "C:\folder"
setup.bat < response.txt

                  New to ADSelfService Plus?