Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Copy a Folder Using the Shell ObjectContent of Copy a Folder Using the Shell Object.vbsMD5 Hash: 56719971125057886DEA60A0FE5391B5 |
||
' Description: Uses the Shell object to copy the folder C:\Scripts to D:\Archives. Displays the Copying Files progress dialog as the folder is being copied.
Const FOF_CREATEPROGRESSDLG = &H0& ParentFolder = "D:\Archive" Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.NameSpace(ParentFolder) objFolder.CopyHere "C:\Scripts", FOF_CREATEPROGRESSDLG | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |