By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

WAD can't override .com file handling like with other extensions

You know how you can set environment variables to control how files of certain extensions are handled?

As is documented here:
TCC Executable Extensions

it doesn't seem to work for .com files.

Probably because we're not supposed to be able to run them anymore.
But I'm able to because of the excellent tool posted in another thread here at MS-DOS Player for Win32-x64

So I wrote my handler but it doesn't work, seemingly because it tries to run the .com file prior to TCC processing the command.

The reason I think this is a bug is that my handlers for all my other extensions work, just not for this one.

I'm loving the idea of bringing back my 1980s/1990s .com utility files though! :)


and just for reference, this is all run-com-file.bat is:

Yea it was a bit silly of me to do this, but I've been nostalgic lately, what with the discovery of double-height text and [most of] the deeper ANSI codes now working. Thanks!

I'll have to figure out what WAD stands for though.
Working As Designed. I have an old DOS emulator named vDOS. I have no idea where I got it. It uses 4DOS as the Command processor.
[FOX] Ultimate Translator