title: FoxPro SET DEFAULT TO Command
body: <p>I am walking through a Visual FoxPro program trying to document the code in an effort to understand the process <em>(I am not a FoxPro developer and have very little experience looking at the code)</em> and I came across the "SET DEFAULT TO" command used without any drive designation specified. I checked the documentation and there are several examples on how to use it but none of them show it being used without the drive designation. The statement is literally written like this:</p>
  
  <pre><code>SET DEFAULT TO
  </code></pre>
  
  <p>and that's it.
  I am curious what this does. The documentation from Microsoft does show that the drive is optional (at least in the typical shown in square brackets [ ] way) as seen here:</p>
  
  <p><img src="https://i.stack.imgur.com/YYdxx.png" alt="enter image description here"></p>
  
  <p>but then they don't elaborate on what happens when the cPath parameter is left off.</p>
  
  <p>Any insight would be truely appreciated.</p>
  
  <p>Thanks,<br/>
  Doug</p>