Results 1 to 2 of 2

Thread: [RESOLVED] Help with syntax please?

  1. #1
    Addicted Member
    Join Date
    Feb 12
    Location
    St. Louis, MO
    Posts
    166

    Resolved [RESOLVED] Help with syntax please?

    can anyone tell me the exact syntax for this line below?
    note spaces in command line...

    Code:
    WSHShell.Run"""(c:\windows\system32\robocopy.exe"" ""\\10.150.222.81\C$\Users\anyone\Documents"" ""C:\Documents and Settings\anyone"" ""/E /R:10 /W:10 /Z /Log+:C:\mydocs.log)""" 

  2. #2
    Addicted Member
    Join Date
    Feb 12
    Location
    St. Louis, MO
    Posts
    166

    Re: Help with syntax please?

    Figured it out myself, shame I thought forums were for help

    vb Code:
    1. WSHShell.Run"""c:\windows\system32\robocopy.exe"" ""\\10.150.222.81\C$\Users\anyone\Documents"" ""C:\Documents and Settings\anyone"" /E /R:10 /W:10 /Z /Log+:C:\mydocs.log"""

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •