Hi,
I would like to print the current directory name without showing the full path. With current directory I meant the current directory of the VB application from which it's launched. For example; if I launch the application from D:\ParentDir\DynamicDir 3, I should get "DynamicDir 3" and not the D:\ParentDir
I have tried following but I am getting full path:
Label3.Text = AppDomain.CurrentDomain.BaseDirectory
or
Label3.Text = Directory.GetCurrentDirectory()
and same results with following as well:
Label3.Text = My.Application.Info.DirectoryPath