Please help me with command fix,
I am trying to create a file after cycle completing in location.
Below is the command using in the script :
print('Attempting to create [$GV_OUTBOUND_DIR][$GV_FILE_NAME]');
print(exec('/bin/sh','-c "touch [$GV_OUTBOUND_DIR]/[$GV_FILE_NAME]"',8));
Variables :
$GV_OUTBOUND_DIR] - added path O:\Project\++Projects\Cube\ETL_Unit_test
[$GV_FILE_NAME] - File name with extension, eg: FILEGEN.txt
Error Message:
25023 | 353486624 | PRINTFN | 6/20/2016 2:37:37 AM | Attempting to create O:\Project\++Projects\Cube\ETL_Unit_testFILEGEN.txt |
25023 | 353486624 | PRINTFN | 6/20/2016 2:37:37 AM | 1: touch: cannot touch `O:Project++ProjectsCubeETL_Unit_test/FILEGEN.txt': No such file or directory |