command.js to run batch file

This commit is contained in:
minjaesong
2020-11-04 16:10:33 +09:00
parent 3b2870ec9c
commit ab0827b96c
7 changed files with 26 additions and 10 deletions

View File

@@ -80,6 +80,6 @@ var execApp = function(cmdsrc, args) {
///////////////////////////////////////////////////////////////////////////////
// Boot script
filesystem.open("A", "tvdos/command.js", "R");
filesystem.open("A", "tvdos/bin/command.js", "R");
let cmdsrc = filesystem.readAll("A");
execApp(cmdsrc, ["", "/c", "\\AUTOEXEC.BAT"]);