getting “~lock” in file info fullname

Home / Uncategorized / getting “~lock” in file info fullname

Question:
I am using fileinfo class in vb to get the the fullname of a file name to insert into a listbox.

For example
For Each fs_info As FileInfo In fs_infos
listbox1.items.add(fs_info.FullName)
Next

and im getting
A:.~lock.4142_062017.TXT#

instead of A:4142_062017.TXT

Please help me! Thanks!


Answer:

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *