hi all
im making a backup program to restore from a info file store on the cd in a folder
is it posible to get this folders name as the folders name will change from cd to cd
any help would be great:(
Printable View
hi all
im making a backup program to restore from a info file store on the cd in a folder
is it posible to get this folders name as the folders name will change from cd to cd
any help would be great:(
System.IO.Directory.GetDirectories will return you a list of sub-directories in a given path.
thanks for reply negative0 im using vb6 not net, but i did apply this method just now and changed it a little and works greate thanks
Code:Set FSO = CreateObject("Scripting.FileSystemObject")
'dd is drive letter
'klk is from a folder list using dirlstbox
FSO.GetFile ((Mid(DD, 1, 3)) + klk + "\" + klk + ".dtb")
If you are using VB6, you should post your question in the Classic VB Forum instead of the .Net forum.
thanks will do