Hi Yutong,
In HPC pack, I have not assigned any environmental variables. Can you pls help what needs to be assigned?
The script is a simple script to transfer file from one location to another.
for /f %%a IN ('dir "\\server1\Test1\Job346\" dir /b /a-d ^| findstr /vile ".k .config .bat .key .rad .fem .inp .log .outmain"') do move \\server1\Test1\Job346\\%%a \\server2\jobtest1
This shows the error "The filename, directory name, or volume label syntax is incorrect". It runs manually when double clicked.