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

Por advert665

Supporter (6)

Imagen del 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 sesión o register para postear comentarios

Por Jipe

Paragon (1515)

Imagen del Jipe

01-04-2021, 18:07

use a text editor Wink

Por sdsnatcher73

Prophet (2343)

Imagen del sdsnatcher73

01-04-2021, 18:13

I personally like AKID, a simple text editor.

Por advert665

Supporter (6)

Imagen del advert665

01-04-2021, 22:02

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

Por PingPong

Prophet (3793)

Imagen del 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

Por Wild_Penguin

Hero (641)

Imagen del 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.

Por eimaster

Master (251)

Imagen del 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?

Por Jipe

Paragon (1515)

Imagen del Jipe

07-04-2021, 08:44

you found it on sofarun Wink

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