notepad: 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 CentOS possible default full paths are:

/usr/bin/notepad - from package: wine-common

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