I have a simple script that maps to a network drive and then copies the files and directories I want. The copy section is shown below. What I want to do is have a progress bar or status show up on the screen so the user can see the progress of what is being copied and when it is done. Can anybody help me out. Thanks!
'----- Copy files --------
Const ForAppending = 2
Set objFSO = CreateObject("Scripting.FileSystemObject"
Const OverWriteFiles = True
Set objFSO = CreateObject("Scripting.FileSystemObject"
objFSO.CopyFolder "C:\My Documents" , "r:\" , OverWriteFiles
objFSO.CopyFolder "C:\Windows\Favorites" , "r:\" , OverWriteFiles
objFSO.CopyFolder "C:\Windows\Application Data\Microsoft" , "r:\" , OverWriteFiles
' objFSO.CopyFolder "C:\Windows\Desktop" , "r:\" , OverWriteFiles
'----- Copy files --------
Const ForAppending = 2
Set objFSO = CreateObject("Scripting.FileSystemObject"
Const OverWriteFiles = True
Set objFSO = CreateObject("Scripting.FileSystemObject"
objFSO.CopyFolder "C:\My Documents" , "r:\" , OverWriteFiles
objFSO.CopyFolder "C:\Windows\Favorites" , "r:\" , OverWriteFiles
objFSO.CopyFolder "C:\Windows\Application Data\Microsoft" , "r:\" , OverWriteFiles
' objFSO.CopyFolder "C:\Windows\Desktop" , "r:\" , OverWriteFiles