Hi, ... is there a way to setup the CMD to send all entries and output to a logfile ? ... I suppose it would be helpfull if it can be a logfile / CMD session / user.
When you run a command in a CMD session, you can pipe it to a file if you so wish. For example, if you want to write the results of a ping to a text file, the command below would do this:
PING 192.168.1.1 > FILE.TXT
By putting the > FILE.TXT on the end of the command, this will write any output to the FILE.TXT instead of the screen.
If this doesn't help, can you elaborate more on what you are trying to do?
-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
Thanks Linney, but I was looking for something that might already be in place within Windows. I work an quite a few systems and I don't want to install a product on all of them.
What I was looking for was a logging mechanism the same way some telnet clients cal log all activities during the telnet session. In UNIX there is a command called "script" which allows to log all session activity to a file. Of course if the use of a specialized CMD is required, then I suppose I have no choice but to buy some product that will log CMD activity.
At the moment the only thing I can do is change the settings of the CMD to allow 9999 lines of buffer, then when I am done using the CMD I can copy and paste in a notepad. I need to be carefull since sometimes I go over the limit a lose the previous data.
Hope someone can help. I am sure this would be useful for others as well. )
Description.
Determines whether to audit detailed tracking information for events such as program activation, process exit, handle duplication, and indirect object access."
I see ... thnaks to all for contributing ... I may just have to stick with Cut&Paste for the time being.
Found a couple of TEE commands for windows but none that works well. The only thing that I see at tis point is using the Microsoft Windows Services for UNIX 3.5 ... 222MB ... long to download.
Has anyone used this tools ... I expect to have a tee command that works in there ... then I will be ok.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.