title: Always get invalid argument when unlink() file from public directory
body: <p>I use laravel 5.4, I dont really know what exacly causing this error .</p>
  
  <blockquote>
    <p>unlink(C:\xampp5.6\htdocs\sp2hp\public/files/admin/perkara/file_159f459cb9307a.sql
    ): Invalid argument</p>
  </blockquote>
  
  <p>even I've change with single quote or backslah or any of this asnwer from <a href="https://stackoverflow.com/questions/29037941/unlink-function-invalid-argument">unlink() Function invalid argument</a>
  it's still not working  </p>
  
  <p>Here's my code</p>
  
  <pre><code>if (!empty($x-&gt;file)) {
     unlink(public_path('/files/admin/perkara/'.$x-&gt;file));   
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qOo13.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qOo13.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/obFeA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/obFeA.png" alt="From begining its show double quote and"></a></p>
  
  <p>any idea ?</p>