REM Instead of: .\conny14.txt REM Use: set "datafile=C:\Full\Path\conny14.txt" If the link and file exist but access is denied:
echo Recreating folder link... rmdir "FixedLink" 2>nul mklink /D "FixedLink" "%~dp0" filedot folder link conny14 txt fix
rm "broken_link_name" ln -s "/actual/path/to/target" "link_name" If the script uses .\conny14.txt but the current directory is wrong, try: REM Instead of: