Can someone help me out with a vbs script. I have this script. It displays the directory I’m looking for and allows me to filter the files. I need it to allow me to save the files that I select instead of just echoing back my choices. I also need it to block the user from being able to delete from that directory. Thanks in advance for any assistance in this matter.
Set objDialog = CreateObject(“UserAccounts.CommonDialog”)
objDialog.Filter = “JPEG|*.jpg|BitMap|*.bmp|All Files|*.*”
objDialog.Flags = &H0200
objDialog.FilterIndex = 3
objDialog.InitialDir = “\\server\share”
intResult = objDialog.ShowOpen
If intResult = 0 Then
Wscript.Quit
Else
arrFiles = Split(objDialog.FileName, ” “)
For i = 1 to Ubound(arrFiles)
strFile = arrFiles(0) & arrFiles(i)
Wscript.Echo strFile
Next
End If