If you want to continue in the mode you first started in, (programming of
moving files into new folders in VB,) try playing with code like this basic
example:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
My.Computer.FileSystem.CurrentDirectory = "c:\aaa"
My.Computer.FileSystem.CopyFile("c:\test.doc", "test.doc")
End Sub
--------------------------------------------------------------------------------------------------------------------------------------------------------
Ah, the good old days when we made batch files to do this stuff
rem select drive c: rem Change Directory to root location to create folders at cd \aaa rem Make directory md "%1" rem go to new directory(folder) (Change Directory) cd "%1" rem make another directory(folder) md "%2"
|