Jump to content
Sign in to follow this  
tneville

Copying Files from Share Error

Recommended Posts

Hello All,

New to this community and scripting in CWA itself, I am trying to create a script that will copy files as admin from source to target. Every time I try the debugger it fails to find the network location, has anyone had issues with this is in the past. The share not being found, I have confirmed it shared out with Everyone to rule out permissions. 

Thanks

Share this post


Link to post
Share on other sites

Try the following.

Shell as admin: copy <source file> <dest file> >> c:\temp\cpy.log 2>>c:\temp\cpyerr.log

it should write two logs to c:\temp (make sure c:\temp exists on the box you are testing on). The cpyerr.log should contain the text of the error which is occurring. Its almost certainly access denied.

Ian

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...