[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

show copy progress

I am using the command:
My.Computer.FileSystem.CopyFile(foundFile, strcopydes & fileName)

Some files I copy are large and it locks up my script until the files are copied.  Is there a way I can show a progress bar of the copy?

Thanks, Chad
0
chadmanvb
Asked:
chadmanvb
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
See the UIOption Enumeration:
http://msdn2.microsoft.com/en-us/library/ms172907.aspx

See My.Computer.FileSystem.CopyFile:
http://msdn2.microsoft.com/en-us/library/36xbexyf.aspx

So...

    My.Computer.FileSystem.CopyFile(foundFile, strcopydes & fileName, FileIO.UIOption.AllDialogs)
0
 
chadmanvbAuthor Commented:
Worked great!  Thanks, Chad
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now