Specify working directory for links
this is a different use case for links I think.
I implemented them with commands like "zip" in mind: a command that needs to access files from any place and varying current working directory.
what you describe is more about a "quick shortcut" I think. Ie. "run my spreadsheet application without needing to go to its directory. I wonder if there is any added value for using links for that, instead of simple BAT file.
Reply To mateuszviste
this is a different use case for links I think.
Yes.
I implemented them with commands like "zip" in mind: a command that needs to access files from any place and varying current working directory.
That's how I use links most times too.
what you describe is more about a "quick shortcut" I think. Ie. "run my spreadsheet application without needing to go to its directory. I wonder if there is any added value for using links for that, instead of simple BAT file.
Yes, what I describe is how shortcuts work in Windows.
Regarding the 'simple' BAT file: It would help, if SvarCOM could support the 'pushd' and 'popd' commands. :-D Otherwise same 'strange .bat file hack' or some external utility would be required to return to the original directory.
(This is an RFD = Request for discussion.)
Same software requires to be run from the actual program directory and not from the current directory.
So, it would be nice, if a user could optionally specify to either change to the program's directory (where the .COM/.EXE is) or any other directory (probably a data directory).
Of course (?), after returning from that program, SvarDOS should restore the previous current directory.