|I did this in cmd:|
echo @echo off>beep.bat
and then use notepad to add 2>nul after the last ')'. It is now usable and if you want, you can convert it to exe.
put it to %homedrive%\Windows\System32 and now you can use it in batch file!