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

Par advert665

Supporter (6)

Portrait de 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 ou Inscrivez-vous pour poster

Par Jipe

Paragon (1461)

Portrait de Jipe

01-04-2021, 18:07

use a text editor Wink

Par sdsnatcher73

Paragon (1719)

Portrait de sdsnatcher73

01-04-2021, 18:13

I personally like AKID, a simple text editor.

Par advert665

Supporter (6)

Portrait de advert665

01-04-2021, 22:02

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

Par PingPong

Prophet (3680)

Portrait de 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

Par Wild_Penguin

Hero (638)

Portrait de 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.

Par eimaster

Master (242)

Portrait de 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?

Par Jipe

Paragon (1461)

Portrait de Jipe

07-04-2021, 08:44

you found it on sofarun Wink

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