kaiserclaw
Technical User
Hi there!
I'm trying to get my script to work. I want to use a simple copy function with progressbar. Works! BUT I don't know how to exclude files (.mp3) ex. and overwrite without promt..
Here is my code:
Option Explicit
Dim oSHApp
Dim sSrc, sDest
Const FOF_SIMPLEPROGRESS = 256
Set oSHApp = CreateObject("Shell.Application")
sSrc = "C:\test\*.*"
sDest = "D:\test"
oSHApp.Namespace(sDest).CopyHere sSrc
Set oSHApp = nothing
WScript.Quit
Please help!
Thank you
I'm trying to get my script to work. I want to use a simple copy function with progressbar. Works! BUT I don't know how to exclude files (.mp3) ex. and overwrite without promt..
Here is my code:
Option Explicit
Dim oSHApp
Dim sSrc, sDest
Const FOF_SIMPLEPROGRESS = 256
Set oSHApp = CreateObject("Shell.Application")
sSrc = "C:\test\*.*"
sDest = "D:\test"
oSHApp.Namespace(sDest).CopyHere sSrc
Set oSHApp = nothing
WScript.Quit
Please help!
Thank you