Questions tagged [windows-console]

Windows character mode applications using the functions provided by the console I/O functions. This tag should be used by questions about the console functions, structures and winevents, which support character mode applications.

614 questions
0
votes
1 answer

wget command to browse directory named X with different parent name

I'm using the following command: wget --no-check-certificate -nd -r -l5 --no-parent -A "*revisions.txt" https://mysite.com/folder/test/product1/ to get all files containing "revisions.txt" but my structure is like this: >…
remyremy
  • 3,548
  • 3
  • 39
  • 56
0
votes
1 answer

detect that a command line window is scroll-locked

Scenario: A long wait for an automated test run lies ahead.... I might as well go have lunch. So I lock my workstation, go enjoy my sandwiches and return after an hour, confident that by now, I'm going to have the test results alright. Not so...…
xtofl
  • 40,723
  • 12
  • 105
  • 192
0
votes
0 answers

Is it possible to read console's screen buffer on windows and output it to somewhere with node.js?

If possible, I'd like to build an windows console interface like Console2 (http://sourceforge.net/projects/console/) or ConEmu (https://code.google.com/p/conemu-maximus5/) with node.js. The application will access and read Console's screenbuffer and…
Andrew Chaa
  • 6,120
  • 2
  • 45
  • 33
0
votes
1 answer

Transfer into a PHP array the output of a Batch (.bat) file

I have this Batch file which looks for a string through the files contained in a folder. @echo off pushd "%1" findstr /m /C:%2 * popd If I execute that from a command line, it prints the names of the files containing the searched string. From PHP,…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
0
votes
1 answer

Get output of c++ program in fullscreen.It is a console output window targeted code

I use Windows 7 Ultimate.I set the CMD on pc to almost fullscreen(changed the properties from cmd title bar).Though taskbar is visible , it is the maximum fullscreen possible on Windows 7,I suppose. I wrote code for a small command line user…
Nikhil
  • 6,493
  • 10
  • 31
  • 68
0
votes
0 answers

Copying Files from a remote workstation to a network location in a c# Console App

In my Console App (c#) project, I'm trying to let the user type a list of one or more network locations, on a secure network that doesn't have outside connectivity. The user will have full admin rights. The user provides: Source: "machine name"…
BradAtCC
  • 41
  • 1
  • 10
0
votes
4 answers

Compiling Java from Command Line

I'm following this tutorial on how to build an Android Plugin for Unity I'm currently at the part where the author tells me to do the following in command line: 1.> javac CompassActivity.java -classpath C:\Program Files…
N0xus
  • 2,674
  • 12
  • 65
  • 126
0
votes
1 answer

Dividing LONG by INT and assigning to SHORT - Possible in one case?

I'm manually calculating the number of cells in a Windows console. (Yes, I know this information is available from a filled CONSOLE_SCREEN_BUFFER_INFO struct.) #include #include int main(void) { HANDLE hConsoleOutput =…
Hugh McMaster
  • 319
  • 3
  • 10
0
votes
0 answers

How can I insure that the console and or keyboard is in insert mode using c# code?

How do I access the Windows Console API for the console from C#. Specifically how do I exploit the SetConsoleMode property for the Console? Is there a big performance cost? or Is there another way to set the Console's mode in C#?
amalgamate
  • 2,200
  • 5
  • 22
  • 44
0
votes
2 answers

"Console:: " do not compile

this code is taken from http://msdn.microsoft.com/en-us/library/system.console.windowwidth.aspx I want to compile it in gcc compiler. #include #include #include #include using namespace System; int main() { …
Maruf
  • 792
  • 12
  • 36
0
votes
1 answer

Determine OS (windows 7 or XP) using App.Config?

I am trying to find a way to determine which operating system a user has (i.e. win7, or xp) from the App.Config file in my C# windows console application project. I currently have it working programatically in the .cs file but I cannot seem to…
SteveAnselment
  • 634
  • 3
  • 10
  • 29
0
votes
1 answer

What made the `ls` command available on Windows? (IronRuby and Rails Installer.)

I'm completely new to Ruby (and thus Rails) and I'm going through Hartl's second edition. Sorry in advance to ask such a novice question; I'm really inexperienced with Windows command-line. I'm confused by the fact that the command-line session that…
0
votes
1 answer

How to handle the message-only window to get the messages from the console window?

I'm trying to know when a console window has moved so I created a new message-only window to get the messages of the console but I don't know if it is working because the message is apparently never being received. #define WINVER 0x0501 #include…
0
votes
1 answer

Strange Behavior with Console Logging on Internet Explorer 8+

We are having a strange problem with Internet Explorer 8 and above. Our Login process is handled using Javascript that posts hidden parameters being passed on to underlying servlet using AJAX call. $j(document).ready(function() { …
0
votes
1 answer

Windows console only showing the last part of a program's output

I'm having some trouble with the console output of my Java program. When executing a .jar file, the program has a lot of output. Actually it's not that long, but the Windows console shows only the last 30-50 lines. I need to get the entire output.…
Andrade
  • 1,179
  • 12
  • 15