Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- ipconfig /all > c:\some\directory\somefile.txt
- echo @echo off > C:\Users\bhrandon\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ip.bat
- echo "ipconfig /all >> c:\some\directory\somefile.txt" >>C:\Users\bhrandon\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ip.bat
- echo exit >> C:\Users\bhrandon\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ip.bat
- exit
Add Comment
Please, Sign In to add comment