Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.
# ===========================================
# = Console command that runs a batch file =
# ===========================================
package runbat;
use strict;
use plugins;
Plugins::register("runbat","Runs a batch file",\&Unload,\&Reload);
my $commands = Commands::register(['runbat','run a batch file',\&cmdRunbat]);
sub Reload {
}
sub Unload {
}
sub cmdRunbat {
system('start teste.bat');
}
1;
when I type runbat on console it opens another windows with an error:
error.PNG
You do not have the required permissions to view the files attached to this post.