system cannot find path specified suing scp command

  • i have a batch script where i am trying to send files from source system to destination

     

    SETLOCAL

    REM Setting up variables

    SET BatchDescription="Test"

    SET Folder=C:\Daves

    SET LOGDIR=%Folder%\Logs

    SET sourcefile=Jeseie_*.txt

    SET LocalPath=%Folder%\IN

    SET SourcePath=\d$\Henr\Kit\%sourcefile%

    SET ipaddr=10.165.87.11

    SET usr=lew

    scp -c %usr%@%ipaddr%:%SourcePath%  %LocalPath% >>%LOGDIR%

     

    when i try to run the batch the log says as system cannot find the path specified.

     

  • If D$ is an admin share, try using a normal non-admin share.

    Sue

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply