Login | |
|
 |
RE: Problem copying folder to Folder - 7/16/2007 7:42:16 AM
|
|
 |
|
| |
dm_4ever
Posts: 2724
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
try changing the following strDestination = "\\" & strComputer & "\c$\FSBA\" If not(objFSO.FolderExists(strDestination)) Then objFSO.CreateFolder(strDestination) End If Set objDestination = objFSO.GetFolder(strDestination) 'remove objFSO.CopyFolder SOURCE_FILES, strDestination, True
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Problem copying folder to Folder - 7/17/2007 5:41:30 AM
|
|
 |
|
| |
ebgreen
Posts: 5250
Score: 31
Joined: 7/12/2005
Status: offline
|
And could you please post the exact code that is giving you that error? I sometimes have a hard time keeping track of the changes that people make as we work through a problem like this.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|