My question is about obtaining the current path the user is in when a command is executed. For example, if the user executes the following in the terminal:
cd /some/path
./ myProgram -someOption theFile
I want to find theFile without having the user to enter the full path if theFile is in the current directory(/some/path).
Thanx