Author Topic: Path  (Read 2616 times)

Rick Smith

  • Full Member
  • ***
  • Posts: 119
  • Karma: +4/-0
    • View Profile
Path
« on: July 23, 2022, 03:29:44 am »
Greetings All,

I hope everyone is well out there!  I cannot remember, can I start an application say like file commander from a 4os2 prompt from any dir by say typing "fc"?  I have that dir on my path statement in config.sys, I just do not recall if that is possible under os2 or arca?

Regards,

Rick

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Path
« Reply #1 on: July 23, 2022, 05:44:44 am »
Generally yes, as long as the directory is on the PATH and DLL requirements are met. Didn't you test?
It does fall down if the program needs to be started in its directory such as Firefox which looks in its working directory for its DLLs.
Can't remember if File Commander needs to find its ini, hlp etc in its current working directory or its program directory, or if PATH is good enough to find them. Hmm testing, it does seem PATH is good enough for fc to find its supporting files.