title: exec() not changing attrib of a file outside of current folder
body: <p>The <code>exec()</code> function works for changing file attributes in Windows machine as long as the path given is inside the development folder. Like</p>
  
  <p>D:\Programs\Development\www\</p>
  
  <p>as long as the file is within that path it's attributes  can change.</p>
  
  <pre><code>$path = D:\Programs\Development\www\test.jpg
  exec("attrib +s +h $path");
  </code></pre>
  
  <p>That works, but once I change the path to somewhere else this function doesn't seem to work</p>
  
  <pre><code>$path = 'D:\Desktop\New Folder (2)\Test Folders\test.jpg'
  exec("attrib +s +h $path");
  </code></pre>
  
  <p>Now the same command won't work. Any ideas on how to solve this?</p>