Advertisement
Guest User

untitled

a guest
Jan 22nd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. NETSH WLAN SHOW PROFILES > %TMP%\w_profiles.log
  3. TYPE %TMP%\w_profiles.log | FIND "All User Profile" > %TMP%\profiles.log
  4. DEL %TMP%\w_profiles.log
  5. FOR /F "tokens=5" %%A IN (%TMP%\profiles.log) DO (
  6.     ECHO %%A >> %TMP%\names.log
  7. )
  8. DEL %TMP%\profiles.log
  9. FOR /F "tokens=0" %%A IN (%TMP%\names.log) DO (
  10.     NETSH WLAN SHOW PROFILE %%A KEY=clear >> %TMP%\temp.log
  11. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement