copy files to another folder

Author Message
hajime

  • Total Posts : 67
  • Scores: 0
  • Reward points : 0
  • Joined: 7/27/2010
  • Status: offline
copy files to another folder Thursday, August 05, 2010 9:40 PM (permalink)
0
hi guys i need help i encounter 800A0046 error Permision denied when i use this code,
but ive tried another script same code same PC and its working is it the way i declare the variables?
btw
strFileName is the name of file im copying
TDate is the folder name
 
PathProcess = "C:\Processed\" & strFileName
Set objFileCopy = objFSO.GetFile(PathProcess)
strDestination = "C:\Output\" & TDate
objFileCopy.Copy (strDestination)
 
 
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9