Questions

Answer for:

How to get share info from a list of servers?

Message 2 of 7

View entire thread
+
0 Votes
HP Gaspar

@Echo off
Title Share Lister
Echo.Please wait
for /f "usebackq delims=" %%A in ("comp.txt") do (
ECHO #############################################
Echo %%A
RMTSHARE.exe \\%%A
)>>Share.csv