Вопрос

Hi is there a way how to create an alias for a command in dosbox? I have found something that is called 4dos but I'm looking for some simpler way

The think what I want is make ls act like dir or i have a dos program which i use in dosbox and i want to be able to start it from any directory without writing its path explicitly or copying it into that directory.

The programs I want to use in dosbox are
TASM
TLINK

Thanks for any help.

Это было полезно?

Решение

You can create batch files (.bat) that do whatever you like, put them in some directory, and put that directory in the PATH (using set).

Putting the directory in the PATH is also the way to make dosbox search for a program even if it is not in the current directory.

Другие советы

You could also use a program called doskey.com. You can define an alias ls for dir with

doskey ls=dir
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top