title: Run Command Line & Command From VBS
body: <p>I need to run a command to copy a file from one location to another through Command Prompt using a vbs file. this is what I have however it keeps throwing an error at me.</p>
  
  <pre><code>'Dim oShell
  Set oShell = WScript.CreateObject ("WScript.Shell")
  oShell.run "cmd.exe /C copy "S:Claims\Sound.wav" "C:\WINDOWS\Media\Sound.wav"
  Set oShell = Nothing'
  </code></pre>
  
  <p>The error i get is:</p>
  
  <pre><code>'Script: C:\******\command.vbs
  Char: 30
  Error: Expected end of statement
  Code: 80040401
  </code></pre>
  
  <p>Source: Microsoft VBScript compilation error'</p>
  
  <p>Please help :)</p>