Is there a way in vb script to visually show the progress of a script? I have a script that copies files to a remote server and would like to see the status of the copying process. Can this be done?
Something like this ?
srcfile="\path\to\bigfile"
destdir="\\server\share\path\to\dir"
Set SA=CreateObject("Shell.Application")
Set NS=SA.NameSpace(destdir)
NS.CopyHere srcfile,16
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
One possibility is to control an IE instance via automation.
Another is to rewrite your script as an HTA instead of a WSH script.
One more is to use Shell.Application methods that can display animations during operations like file copying - as already decribed above.
Yet another is to use some ActiveX control that offers this capability or acts as a general-purpose control container to display forms or other GUI presentation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.