I need to run a script to replace the HEADER in a TEXT file and ignore row 1 in that same TEXT file. When I double click on the .BAT file on the server it runs fine. If I try to execute it from VisualCron it only completes the first line of code below (TYPE) statement. I've tried running it in Foreground and Background, Hidden Directory, I've made sure the .BAT file is available for EVERYONE, I've made sure the folder is shared with EVERYONE. So I can't figure out why it won't execute the MORE +1 command within the script.
.BAT Script
REM** Script to ignore the existing HEADER in the extract, replace with correct HEADER and then output the new HEADER and DATA to a new TEXT file.
CD "D:\Acme\Cipher\Reports\Client Store\QC_Acme_RMS"
TYPE "D:\Acme\Cipher\Reports\Client Store\QC_Acme_RMS\QCReportHeader.txt" > "D:\Acme\Cipher\Reports\Client Store\QC_Acme_RMS\CLIENT_WEEKLY_STOREINFO_DATA_BY_ORG.TXT"
MORE +1 "D:\Acme\Cipher\Reports\Client Store\QC_Acme_RMS\QC WEEKLY STOREINFO SALES BY ORG L12W.GTM_Data.txt" >> "D:\Acme\Cipher\Reports\Client Store\QC_Acme_RMS\CLIENT_WEEKLY_STOREINFO_DATA_BY_ORG.TXT"