Menu

#3 enhancement for load command

open
nobody
None
5
2016-05-03
2009-03-14
No

I think it would be handy if the load command would accept relative paths instead of a full path name. For example:

load ./command
load dir1/cmds/command

Discussion

  • Boisy Pitre

    Boisy Pitre - 2010-01-15

    I think load does accept relative paths already. If my execution dir is /DD/CMDS and I have an executable in /DD named 'bork' then 'load ../bork' should work.

     
  • Tormod Volden

    Tormod Volden - 2016-05-03

    William, maybe you meant relative to the current data directory? The load command, like executing commands, always use the current execution directory. So if the current execution directory is /DD/CMDS, load ../mydir/command will access /DD/mydir/command.

    ./command would simply mean /DD/CMDS/command and dir1/cmds/command would mean /DD/CMDS/dir1/cmds/command.

     

Anonymous
Anonymous

Add attachments
Cancel