command.com echo command

BlitzMax Forums/BlitzMax Programming/command.com echo command

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Stricly speaking, you cant. At least not in any direct way.
Since "echo" is an internal shell command (command.com or cmd.com for 2000++) they need to be active for it to function.
Doing a Print from blitzmax does exactly the same thing with a lot less overhead though.

If what you realy want is to run batch scripts from your program, you could start a new shell from your own program:
system_("cmd /c ~qecho hello world!~q")