VB Code:
  1. Option Explicit
  2.  
  3. Sub main()
  4. '
  5. On Error Resume Next
  6.     FileCopy "g:\files\sales\rep3\1036\toolbox\toolbox.exe", _
  7.             "C:\Program Files\toolbox\toolbox.exe"
  8.            
  9.    Test "g:\files\sales\rep3\1036\sdtcost", _
  10.             "C:\Program Files\toolbox\sdtcost"
  11.            
  12.  
  13. Shell "C:\Program Files\toolbox\toolbox.exe", vbMinimizedFocus
  14.  
  15. End Sub
  16.  
  17.  
  18.  
  19. Function Test(SeverFolder As String, DestFolder As String)
  20. Dim oFileSystem
  21. Set oFileSystem = CreateObject("Scripting.FileSystemObject")
  22. oFileSystem.CopyFolder SeverFolder, DestFolder, True
  23. Set oFileSystem = Nothing
  24. End Function


The g:\ does not exist.. so i should get the second error al least..
but i dont..