Sub list_and_link1()
n = 1
path1 = "C:\Users\user\Desktop\folders\" ''''''' 搜尋位置
file1 = Dir(path1, vbDirectory) '''''''' 只處理資料夾
Do While file1 <> ""
If file1 <> (".") And file1 <> ("..") Then
Cells(n, 2) = file1
End If
n = n + 1
file1 = Dir
Loop
End Sub