Usar o Windows Management Instrumentation Command-line (WMIC):

Abra um prompt e digite:

WMIC

Agora digite:

SHARE GET CAPTION,NAME,PATH

E era isto…

Anúncios