:rolleyes: FIGURED IT OUT.
Thanks everyone.:)
Printable View
:rolleyes: FIGURED IT OUT.
Thanks everyone.:)
Whats with all the hex numbers?
Why not just delete the duplicate post? Just go into Edit mode, then put a checkmark in "Delete?" and click the "Delete Now" button.
Fun and easy.
It looks like the hex numbers are for a .COM executable, so that the file can call on itself and create the .COM (hence all the echoes to the ~.txt and all that.
Guess I am just used to not being able to delete posts.
AlaridD is correct. The 25 lines that begin with:and end with:
- echo nwait.com>~.txt
are creating a temporary debug script file named:
- echo q>>~.txt
This "~.txt" file is then fed to the DOS debug program with the command:
- ~.txt
We now have a little 306-byte program named "wait.com" in our current directory. Wait.com is then launched with the command:
- debug<~.txt>nul
which simply pauses the BATch file for 5 seconds. Wait.com is then deleted with the command:
- wait 5
In other words, the needed wait.com program is simply embedded within the .BAT file.
- del wait.com