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

Door advert665

Supporter (6)

afbeelding van 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!

Aangemeld of registreer om reacties te plaatsen

Van Jipe

Paragon (1504)

afbeelding van Jipe

01-04-2021, 18:07

use a text editor Wink

Van sdsnatcher73

Prophet (2237)

afbeelding van sdsnatcher73

01-04-2021, 18:13

I personally like AKID, a simple text editor.

Van advert665

Supporter (6)

afbeelding van advert665

01-04-2021, 22:02

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

Van PingPong

Prophet (3760)

afbeelding van 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

Van Wild_Penguin

Hero (641)

afbeelding van 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.

Van eimaster

Master (249)

afbeelding van 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?

Van Jipe

Paragon (1504)

afbeelding van Jipe

07-04-2021, 08:44

you found it on sofarun Wink

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