Alright, so in yesterday's thread, I asked for the codes to copy the contents of a directory to a separate directory. The code: My.Computer.FileSystem.CopyDirectory( , , ) worked fine. However, I have decided that I wish to add a progress bar into the mix so that the user can see the progress of the transfer \ copy. So far: [CODE] btn_Quit.Enabled = False Dim path As String = Application.StartupPath Dim prgpath As String = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86) Dim datfldr As String = (path + "\a") Dim prgfldr As String = (prgpath + "\1") IO.Directory.CreateDirectory(prgfldr) Dim prgfldr2 As String = (prgfldr + "\2") …

Member Avatar
Member Avatar
+0 forum 12

did someone know Ms-Dos's dir command i need to take all contets of any folder for using my praggram how can i do that is any one knows? thx for replys

Member Avatar
Member Avatar
+0 forum 4

Hi Alls, Really need your help. I'm trying to list all text file in Application Startup path folder in combobox but cannot...can anyone help?.....In Application Startup Path folder i got more than 3 .txt file. So i want to list out in combobox...please help me..thank you

Member Avatar
Member Avatar
+0 forum 4

[code] ListBox2.Items.Clear() Dim myCoolFolder As String = "F:\" Try For Each myCoolFile As String In My.Computer.FileSystem.GetDirectories _ (myCoolFolder, FileIO.SearchOption.SearchAllSubDirectories, "*.*") ListBox2.Items.Add(myCoolFile) Next Catch ex As UnauthorizedAccessException MsgBox(ex.Message) End Try MsgBox("Total Files: " & CInt(ListBox2.Items.Count).ToString("#,###,###")) [/code] This code is for listing all folders including subfolders. but when i run this code i m getting error "Access to Path F:\System Volume Information is Denied" How can i ignore this folder and continue scan.? is ther any solution for this error? Any help would be greatly appreciated.

Member Avatar
Member Avatar
+0 forum 9

Hi, I have a folder containing a further 2500 folders or so. These all contain files. I want to move the files from within only a selection of around 260 of these folders into a new folder. I have a text list of the folders of interest. So basically I want to open the folders named in my list, move only the files from these folders and consolidate together into one new folder. I'm looking at grep etc but I don't know how to implement this on folder names within a directory. Any pointers on where I could start on …

Member Avatar
Member Avatar
+0 forum 1

How to list all files in a folder including subfolder files.

Member Avatar
Member Avatar
+0 forum 9

The End.