Notifications
Clear all
General Discussion
3
Posts
2
Users
0
Reactions
79
Views
Topic starter
Does anyone know how to get a file copy to work in jobs.txt if there is a space in the file name? I need it for this one CCC file and quotes aren't working-
CCCQE-User-Edit-HPI-Peds - BF.txt
Posted : October 6, 2014 2:45 am
You have to copy the file without a space, copy a batch file that will rename the file to put back the spaces and a line to execute that file.
This is actually from the CCC 8.3.8 full kit:
Batch file RestoreEMRFileNames.bat has:
echo off pushd CCC ren "CCCQE-User-Edit-HPI-Peds$-$BF.txt" "CCCQE-User-Edit-HPI-Peds - BF.txt"
Then jobs.txt has this after an entry for copying the file name with the $'s in it (the batch file would be in the Source directory in Staging):
1142,emr,\,extract,RestoreEMRFileNames.bat
Posted : October 6, 2014 3:13 am
Topic starter
Thanks so much, that worked like a charm
Posted : October 6, 2014 5:09 am