Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- NETSH WLAN SHOW PROFILES > %TMP%\w_profiles.log
- TYPE %TMP%\w_profiles.log | FIND "All User Profile" > %TMP%\profiles.log
- DEL %TMP%\w_profiles.log
- FOR /F "tokens=5" %%A IN (%TMP%\profiles.log) DO (
- ECHO %%A >> %TMP%\names.log
- )
- DEL %TMP%\profiles.log
- FOR /F "tokens=0" %%A IN (%TMP%\names.log) DO (
- NETSH WLAN SHOW PROFILE %%A KEY=clear >> %TMP%\temp.log
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement