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