title: Unable to open file in r mode fatal
body: <p>Through terminal, I am trying to execute a program . I have to mention a file which is present in another folder while writing the execute command.</p>
  
  <p>I have one folder in which my executable resides. That folder name is <strong>apps.</strong> and the file which I want to mention along with the execute command is residing in another folder named <strong>"dataset"</strong>. This folder is in apps folder.</p>
  
  <p>Rightnow , I am in apps folder</p>
  
  <p>and run this command</p>
  
  <pre><code>./executable -i ./dataset/filename
  </code></pre>
  
  <p>but this gives me this error though the file is present in dataset folder:</p>
  
  <pre><code>Unable to open file in r mode fatal
  </code></pre>