I am currently using the following script to copy all files with a certain prefix to a target directory:
for /f "delims==" %%k in ('dir "d:\Search Path\File Prefix*.*" /s /b') do copy "%%k" "d:\Target Directory\"
This works fine but I would like to instead create a symlink to the files incase of any file changes. Please can someone advise how I could do this?
Many Thanks
.bat
: puvox.software/blog/easiest-method-create-symlink-symbolic – Gordongordy