Here's three ways I use aliases: 1. If I want to access a command under a different name. For example, the distribution does this with the *shutdown* and *reboot* command by default, because Linux users are more likely to type those.
2. If I want to run a command with a default command line parameter (rare for me, but it comes in handy sometimes) 3. Most likely: running a command that I don't use all the time, and/or wouldn't make sense to add to my PATH On the last example: when I write programs on FreeDOS, I often use the FED editor. But FED isn't in the default PATH, and it's the only program in the directory it's installed in. So if I want to use FED, i make an alias: > alias fed=c:\apps\fed\fed.exe On Thu, Sep 25, 2025, 8:18 AM Norby Droid via Freedos-user < [email protected]> wrote: > I was wonderin which would be better to use Alias or Path. > > Here is an example: > I use FreeBasic and/or PowerBasic for my programming projects. > > I can either setup the path: > Path=%Path%\Devel\PwrBas35\PB.exe > or set up the alias: > Alias PB=\Devel\PwrBas35\PB.exe > > But really, is one better than the other, or prefered over another. From > my guess, alias may be a better solution, but others may have a different > opinion. > > Thank you. > _______________________________________________ > Freedos-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-user >
_______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
