hello
i know that on a .bat file u can type
md %random%
and a folder with a random name will apear, if tried to do it in VB but the code doesnt work...is their any code for VB that makes a random directory?
Code:
Dim x as string = "D:\" & rnd()*100000
My.Computer.FileSystem.CreateDirectory(x)
OR
Code:
Dim rand as new Random
'Creates a random directory from 1 to 10000
My.Computer.FileSystem.CreateDirectory("D:\" & rand.next(1,10000))