Problem:
When you are running an INT within the Net Express IDE, you will get a separate window for the result of the ATTRIB command. This is normal since the INT is always running in a window mode or environment in the Net Express IDE, which forces the operating system to open another window for the "DOS" ATTRIB command. On the other hand, running the EXE from the Net Express IDE will not be in window mode since your application is linked as a character interface application. Therefore, this will run as a "DOS" application, i.e. not in window mode. For that reason, you get to see two different results from running the INT and EXE within the Net Express IDE.
Resolution:
If you run the INT from the Net Express command prompt with the command RUN.EXE, you will get the same result as running the EXE within the Net Express IDE. The key here is that you have to run your application in window mode. That is, you have to link your EXE as a graphical interface application (i.e. select Graphical from the interface type options in the EXE's build settings.)
In addition, you will need to link your application to use the shared runtime system. If you link it statically, you will get the same result as before.