G
Guest
It will be treated as a com or bat file. No MZ then it can't be an exe
file. The actual tests for com/bat are not public info.
"ZM" used to/may still be allowed as well.
It will be treated as a com or bat file. No MZ then it can't be an exe
file. The actual tests for com/bat are not public info.
Lindsay said:XP does NOT have a DOS box. It does not have DOS at all. It is a command
prompt. Very different.
Lindsay said:You clearly have no idea what an EXE is. The observation you have made from
the run dialog and the command prompt is one of the computer reaslising that
it's not a valid EXE and then just doing nothing. Doing what you did CANNOT
have any affect on Windows at all in any shape or form because, despite the
EXE extension you gave the file, it's not a program. Never will be either
becuase you cannot make an EXE that way.
David said:0AF7:0100 222E2E5C AND CH,[5C2E]
0AF7:0104 2E CS:
0AF7:0105 2E CS:
0AF7:0106 5C POP SP
0AF7:0107 64 DB 64
0AF7:0108 69 DB 69
0AF7:0109 736B JNB 0176
0AF7:010B 775C JA 0169
0AF7:010D 7573 JNZ 0182
0AF7:010F 725C JB 016D
0AF7:0111 62 DB 62
0AF7:0112 69 DB 69
0AF7:0113 6E DB 6E
0AF7:0114 5C POP SP
0AF7:0115 7065 JO 017C
0AF7:0117 726C JB 0185
0AF7:0119 207732 AND [BX+32],DH
0AF7:011C 63 DB 63
0AF7:011D 312E706C XOR [6C70],BP
It appears as a valid program, at least until the first jump.
John said:In both cases it caused the printer to spit out an identical page of
garbage and then hang the DOS box.
Sjouke said:Well, if only that were true....
In a command window,ececute
copy /b notepad.exe a.wav
(or any other program exe you have).
then type a.wav.
Surprise!!!!!
windows ignores the extension does not
try to run it as a wav file but starts
a.wav as an exe,voila!! notepad starts.
So dont think that you can rely on the
extention to aviod crapware/malware.
wylbur37 said:At the time I ran it, my printer wasn't connected.
Also, the DOS box didn't hang afterwards.
When you say "an identical page of garbage",
do you mean the garbage that resulted from running the program in the
Command Prompt was exactly the same as the garbage from running it
in the Windows Start-Run textbox?
Todd Vargo said:In Windows 98, extension dictates operation. Typing a.wav at the prompt
only
gives the usual bad command or filename message. Also, the start command
sees the extension and attempts to open it with the default .wav player.
wylbur37 said:At the time I ran it, my printer wasn't connected.
Also, the DOS box didn't hang afterwards.
When you say "an identical page of garbage",
do you mean the garbage that resulted from running the program in the
Command Prompt was exactly the same as the garbage from running it
in the Windows Start-Run textbox?
Lindsay said:To be honest, this is the most bizzarre thing I've ever heard anyone trying
to do in Windows. And what is more, to carry out a detailed analysis of the
resulting behaviour (hard drive being accessed, command prompt window
appearing briefly) which is no more than: "nothing happened".
Is this why you purchased a computer? Do you do anything else with it? I
hope so.
John said:Learning starts with asking questions. Windows isn't the point of the
discussion it just happens to be the vehicle. This is a DOS group and I
for one give him credit for taking notice of the difference.
wylbur37 said:David said:0AF7:0100 222E2E5C AND CH,[5C2E]
0AF7:0104 2E CS:
0AF7:0105 2E CS:
0AF7:0106 5C POP SP
0AF7:0107 64 DB 64
0AF7:0108 69 DB 69
0AF7:0109 736B JNB 0176
0AF7:010B 775C JA 0169
0AF7:010D 7573 JNZ 0182
0AF7:010F 725C JB 016D
0AF7:0111 62 DB 62
0AF7:0112 69 DB 69
0AF7:0113 6E DB 6E
0AF7:0114 5C POP SP
0AF7:0115 7065 JO 017C
0AF7:0117 726C JB 0185
0AF7:0119 207732 AND [BX+32],DH
0AF7:011C 63 DB 63
0AF7:011D 312E706C XOR [6C70],BP
It appears as a valid program, at least until the first jump.
If you capture the text into a file, be sure to leave out the
quotes at each end. According to your listing, you seem to have
included the first quote (x'22').
(Check afterwards to make sure the file is exactly 32 bytes long).
David said:Anything typed in command.com is executed by cmd.exe.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.