# quick question. Calling basic commands from batch

Hi everyone. Quick question. How to call something like: "Basic call music" from bat file?
It calls basic, but then said bad command
I just need to load voices in certain Directory, otherwise call music from ROM is fine.
Thank you!

ログイン/登録して投稿

The easy way would to write a small basic program
10 _music
save it as callmusic.bas, then write a batch file
basic callmusic
call the batch file callmusic.bat

The easy way would to write a small basic program
10 _music
save it as callmusic.bas, then write a batch file
basic callmusic
call the batch file callmusic.bat

'callmusic.bas" is too long (you must respect the 8.3 format), so it must be for example "music.bas", the correct MSX-DOS command would be "BASIC music.bas" (the extension of the file is required) and the batch file would be "music.bat".

Thanks guys! Now I realized how dumb I am, I don't know how to save bas files...

save "music.bas"