AutoHotkey Community

It is currently May 27th, 2012, 10:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: January 23rd, 2005, 7:40 pm 
Quote:
Mtee is a commandline utility that sends any data it receives to the console and to any number of files. Useful if you want to watch and record the output from a batch file or program.

Mtee is an 11kb standalone executable. It does not create any temporary files or write to the registry. There is no installation procedure, just run it. To remove all traces of Mtee from your system, just delete it.

Mtee is simple to use and only has several options. To list them, type mtee/?.

Note for W9x/ME users: Mtee v2.0 will only run on Windows NT4/2000/XP/2003. Please use Mtee v1.1. If you want redirect, capture or tee stderr, I recommend the free Win95Cmd utility. This will allow you to use the same redirection syntax that Windows NT4/2000/XP/2003 offers.

What's New

The following features are new to Mtee v2.0

Read and output unicode
Convert ANSI to unicode (and vice-versa)
Reads text and binary data without performing any character translations
Support for unicode filenames of ~32,000 characters
Smaller than ever. Mtee is now just 11kb (and no, it's not compressed!)


Parameters

MTEE [/A | /U] [/C] [/D] [/T] [[/+] file] [...]


/A Convert output to ANSI. Default output is the same as input
/C Continue if errors occur opening/writing to file (advanced users only)
/D Prepends each line with local date in YYYY-MM-DD format (ISO-8601).
/T Prepends each line with local time in HH:MM:SS.MSS format (ISO-8601).
/U Convert output to Unicode. Default output is the same as input
/+ Append to existing file. If omitted, existing file is overwritten
file File to receive the output. File is overwritten if /+ not specified
... Any number of additional files. Use /+ before each file to append
The parameters can be specified in any order. The only requirement is that the /+ switch, if used, must be followed by a filename.

[More...]
[Download]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2005, 8:03 am 
Offline

Joined: July 6th, 2004, 10:07 am
Posts: 171
Location: Manchester, England.
Nice, could come in very handy.....

_________________
Simple ideas lie within reach, only of complex minds


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2005, 3:03 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
You might like to know that something like this has been implemented in AutoHotkey by now; check the FileAppend documentation for more info. (Make sure you have the latest version)

Code:
FileAppend,Hello`, world!,*
return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2005, 4:49 pm 
Offline

Joined: July 6th, 2004, 10:07 am
Posts: 171
Location: Manchester, England.
Quote:
In the beginning the universe was created. This has made a lot of people very angry and is widely regarded as a bad move.

But are those that think it evolved any happier :D

_________________
Simple ideas lie within reach, only of complex minds


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2005, 9:06 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
I dunno. Ask them. :wink: And anyway, the theory of evolution incorporates no explanation of how the universe came into being. I personally hold the view that it was either created or it's existence does not fall within the bounds of time. (i.e. time is within the universe, not the other way around) I've enjoyed many conversations on this topic on the ICC*; the quote is from a witty cynicist there who is also a real-life friend of mine.

*ICC = The Internet Chess Club, which is also an excellent chat server.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2005, 6:27 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
Quote:
time is within the universe, not the other way around

never thought abt it this way... but nice food for thought! Image

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2005, 6:58 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
I'm afraid that little tidbit's already been thoroughly digested, Rajat. It was the result of a heated discussion on said chat server. It was quite an interesting conversation, but unfortunately I never archived it.

P.S. I think I'll keep this sig for a while. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 27th, 2008, 8:41 am 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
jonny wrote:
... It was the result of a heated discussion on said chat server. It was quite an interesting conversation, but unfortunately I never archived it.
First why heated? Second, no problem, google did for sure. Interesting link about time. To answer in more detail what is in what we would need both definitions of what. So there are multiple problems here:

1. agreeing about the definitions (e.g. of universe and time)
2. after agreeing about the definitions the checking method of which includes which other and why should get much easier.

I assume some intelligent expert did this already in some place/space which should not be "chat servers".


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Quote
PostPosted: October 28th, 2008, 9:54 pm 
Isn't that quote from a movie? Maybe HitchHickers Guis....


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group