regressiontests.bat: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/share/doc/r-cran-qtl/examples/bin/regressiontests.bat - from package: r-cran-qtl

You may install the required package with command apt-get install {package}
Error in other languages:
regressiontests.bat: bevel nie gevind nie
regressiontests.bat: comandă negăsită
regressiontests.bat: comando não encontrado
regressiontests.bat: commande introuvable
regressiontests.bat: command not found
regressiontests.bat: käsku ei ole
regressiontests.bat: không tìm thấy lệnh
regressiontests.bat: komanda nerasta
regressiontests.bat: Kommando nicht gefunden.
regressiontests.bat: kommandot finns inte
regressiontests.bat: komut yok
regressiontests.bat: nie znaleziono polecenia
regressiontests.bat: níor aimsíodh an t-ordú
regressiontests.bat: no se encontró la orden
regressiontests.bat: no s'ha trobat l'ordre
regressiontests.bat: opdracht niet gevonden
regressiontests.bat: parancs nem található
regressiontests.bat: perintah tidak ditemukan
regressiontests.bat: príkaz nenájdený
regressiontests.bat: příkaz nenalezen
regressiontests.bat: команда не найдена
regressiontests.bat: командата не е открита
regressiontests.bat: 命令找不到
regressiontests.bat: コマンドが見つかりません