Jump to content
Sign in to follow this  

progressbar for my filecopy script plz!

Recommended Posts


sry, total n00b but Im going crazy here :(

Im trying to get a working progressbar to this script but i just cant figure it out, plz help ? :shocked:

da Code:

#include <GUIConstants.au3>

$destination = "C:\temp\2.jpg"

SplashImageOn("Vägen Till Sverige CopyTool v0.1", $destination,400,300)



GUICreate("Vägen Till Sverige")


$Button_1 = GUICtrlCreateButton ("Töm diskett", 100, 200, 100)

$Button_2 = GUICtrlCreateButton ( "Kopiera!", 0, -1)

GUISetState ()

While 1

$msg = GUIGetMsg()


Case $msg = $GUI_EVENT_CLOSE


Case $msg = $Button_1

Run("form.bat") ; Will delete all files on the floppy

Case $msg = $Button_2

DirCopy("c:\vts\vtsa", "c:\temp\copytest\VTSA", 1) ; These shall be to A: later

DirCopy("c:\vts\vtsb", "c:\temp\copytest\VTSB", 1) ; These shall be to A: later



Share this post

Link to post
Share on other sites


You can use the one Windows uses for copying files or a folder. Take a look here at a compact UDF that JdeB posted previously.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.