How do I edit my autoexec.bat file using MSX?

By advert665

Supporter (6)

advert665의 아바타

01-04-2021, 17:48

This is probably an incredibly simple question, but how do I edit a .bat file using the MSX console itself? I can view its contents using TYPE, but I can't figure out how to actually make edits.

I should probably also mention that I'm running the MSX core on Mister FPGA, and I get a 'File for HELP' error when I type, e.g. HELP BATCH, despite that command being mentioned in the normal HELP output. Are there any basic files missing from the Mister implementation?

Thanks!

Login or 등록 to post comments

By Jipe

Paragon (1461)

Jipe의 아바타

01-04-2021, 18:07

use a text editor Wink

By sdsnatcher73

Paragon (1742)

sdsnatcher73의 아바타

01-04-2021, 18:13

I personally like AKID, a simple text editor.

By advert665

Supporter (6)

advert665의 아바타

01-04-2021, 22:02

Thank you, AKID worked perfectly! I wasn't sure if there would be something built in.

By PingPong

Prophet (3681)

PingPong의 아바타

01-04-2021, 22:22

Jipe wrote:

use a text editor Wink

What a SUPER REVOLUTIONARY IDEA, until now i've ever thought that the tool used to edit text files, was a rake

By Wild_Penguin

Hero (638)

Wild_Penguin의 아바타

01-04-2021, 23:02

copy con > autoexec.bat
Big smile

Or something similar. Of course it doesn't edit the file, but you can create one from scratch!

CTRL+Z to end copy from CON?

Or maybe msx-dos also takes redirection like >>. That way one could do a bit more advanced editing, such as concatenating files or output Smile Of course one can concatenate with copy (msx-dos1) or concat (msx-dos2), it seems.

EDIT: Or, one could even use BASIC to create a file from scratch, or probably even to concatenate files.

By eimaster

Master (242)

eimaster의 아바타

07-04-2021, 02:34

advert665 wrote:

Thank you, AKID worked perfectly! I wasn't sure if there would be something built in.

I couldn't find AKID! Can you send it to my email?

By Jipe

Paragon (1461)

Jipe의 아바타

07-04-2021, 08:44

you found it on sofarun Wink

https://www.louthrax.net/mgr/