Re: Copy Script
- From: Tim <TimJordanVBS@xxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 04:41:46 -0700
That's because you are calling CreateFolder, but you are expecting it
to CreateFolders ;-) So it's rightly complaining that the path
BackupDriveLetter & computername doesn't exit.
Just do it in 2 lines of code instead
objFSO.CreateFolder(BackupDriveLetter & computername)
objFSO.CreateFolder(BackupDriveLetter & computername & "\" &
objSubfolder.name )
Tim.
.
- Follow-Ups:
- Re: Copy Script
- From: ickleric
- Re: Copy Script
- References:
- Copy Script
- From: ickleric
- Re: Copy Script
- From: S Moran
- Re: Copy Script
- From: ickleric
- Re: Copy Script
- From: ickleric
- Copy Script
- Prev by Date: Re: Trouble with Win32_NTLogEvent query on remote server.
- Next by Date: Re: filling an array?
- Previous by thread: Re: Copy Script
- Next by thread: Re: Copy Script
- Index(es):