Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo. 2>file.txt
- echo. 2>file2.txt
- echo. 2>file3.txt
- echo. 2>file4.txt
- start file.txt
- echo You > file.txt
- ping localhost -n 2 > nul
- start file2.txt
- echo have just > file2.txt
- ping localhost -n 2 > nul
- start file3.txt
- echo opened > file3.txt
- ping localhost -n 2 > nul
- start file4.txt
- echo four textfiles > file4.txt
- echo Press to exit batch
- pause > nul
- exit
- What it does : It opens four textfiles using the standard windows editor with a delay inbetween. This is done by a ping command sending pakets to the loopback device.
Advertisement
Add Comment
Please, Sign In to add comment