Windows command line multiple colors for logging [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm routing my application logs to the windows cmd line window. It's hard to read I was just wondering if some kinda of plugin exists for the cmd line to color the text based on some rules for example timestamps in green, anything in [] as yellow, etc.
I'm not talking about routing the logs somewhere else more readable, but specifically if I can get the windows cmd line to be a more readable log target.

There is a free tool called SnakeTail that can tail log files and colorize the data in its application window based on regular expressions. You could use it instead of viewing log files from cmd.exe.
http://code.google.com/p/snaketail-net/

Related

Is there a built-in Windows command-line editor? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
When I connect to a 64-Bit Windows server via PowerShell e.g., is there some built-in command-line tool that allows text editing (assuming that I cannot/do not want to install software)?
For Linux, e.g., I can expect that there is vi installed on virtually every system. For old DOS/Windows version, there has been edit.exe which seems not to be there anymore.
(not enough reputation to comment, so will do it here)
As far as I know, there's not a built-in editor; however, a workaround would be to use:
type CON>myfile.txt
As explained here, this will forward the input in the console to your file. Not nice, not powerfull, but it may help sometimes.
Please note this WON'T work through Powershell, but you may use it with winrs -r:server cmd or with psexec.

the package can prompt file path prompt like Bracket while editing HTML [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
It is really handy in Bracket Editor that can prompt the file path while typing.
After search for a while I still cannot find a package that accomplish the same thing Bracket does.
Can you suggest or name one package providing similar feature in Sublime Text 3.
I use AutoFileName, although it can be a bit intrusive at times, if you're trying to type a string literal and it keeps trying to autocomplete paths. Other than that, recent versions seem to work quite well. Another option is FileSystem Autocompletion, which I haven't tried. FuzzyFilePath may also work for you, but only inserts file paths in your current project.

How does the Windows shortcut know about renaming the file to which it refers? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
How does the Windows shortcut know about renaming the file to which it refers? How to intercept the message when the file was renamed? Is there a corresponding function Win32 API for this?
The shortcut causes the target file's NTFS attributes to be updated with an ObjectID, this is the value that the shortcut actually "points" to.
Resolving them on-demand is done by the distributed link tracking service.
http://msdn.microsoft.com/en-gb/library/windows/desktop/aa363997(v=vs.85).aspx
To detect file name changes and the like you can use FindFirstChangeNotification. I've not worked with shortcuts

Print entire Project source code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to print the source code of a VS2010 project (all files, around 400). Is there any way to automate this task?
Any option is good: whether it is directly to a "physical" printer or to a virtual printer (PDF printer).
It's not built into VS. But you can find a macro that does the job at http://msdn.microsoft.com/en-us/library/ms973240.aspx.
Also, a modified version is loacted at https://stackoverflow.com/a/683835/337294
A Project file is an XML file. You can extract the filenames and then pipe them to any tool you like. If you have any unix-like tools on your Windows system you can do the following to print all .cpp files:
grep -o "\".*\.cpp\"" MyProject.vcxproj | xargs cat

Java library/API to help run windows commands [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is there a Java library/API available to interact with Windows OS, like executing commands on the command prompt and returning the output back to the program?
You can use java.lang.Runtime.exec() to do it, but read this first.
Use the ProcessBuilder, which is available starting from Java 1.5!
It has the nice ability to let you redirect the error stream which makes you only have to cope with one InputStream to read from.
Good article here: Runtime.exec() and the API is here: link text

Resources