Sign in to follow this  
Followers 0
Max Kipness

Simple stdout to command line?

3 posts in this topic

Been looking through some old posts, and it seems that what I'm trying to do is impossible. I just find it so hard to believe that something so simple cannot be done with such a great tool.

Basically I want to run the following command (I'd like to print much more to stdout, but for simplicity I'll use one command):

@osversion & @LF

I would like to compile it as osversion.exe. Then I would like to open a command prompt and type:

osversion.exe

and get the response followed by a line feed (and in the same command prompt window):

WIN_XP

At first when glancing over the docs it seemed like consolewrite would do the trick, but obviously it won't.

I saw posts about different crazy hacks to accomplish this, but I'm not interested in that route.

Am I missing something? Is this not a useful function? Will it be added at any time in the future?

Thanks,

Max

Share this post


Link to post
Share on other sites



look for threads involving editbin or makecui.


Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

look for threads involving editbin or makecui.

Thanks. The editbin conversion program seems to work great.

Max

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0