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!

ログイン/登録して投稿

By Jipe

Paragon (1517)

Jipe さんの画像

01-04-2021, 18:07

use a text editor Wink

By sdsnatcher73

Prophet (2362)

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 (3793)

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 (641)

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 (251)

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 (1517)

Jipe さんの画像

07-04-2021, 08:44

you found it on sofarun Wink

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