Skip to main content

All Questions

Tagged with
0 votes
0 answers
36 views

In.ReadLine() sometimes skips chars in the beginning string

In.ReadLine() sometimes skips chars in the beginning string and doesn't work as would be expected Could this be caused because i have Win7 Pro x64 NET Framework 4.5.2 I use my program through the ...
jcoder's user avatar
  • 11
1 vote
0 answers
65 views

Powershell - Console output overridden/mixed

Have you ever experienced mixing of console outputs from different commands (different execution order than intended) ? The text with audio.part was the external call of command line executed in ...
Michal's user avatar
  • 11
1 vote
1 answer
88 views

Getting progress from a CMD window in Form

Im trying to get the progress information from a process that my program executes in CMD (its a python script). I can successfully read each line from the console and send it to a textbox using ...
tnils25's user avatar
  • 21
1 vote
0 answers
48 views

Redirecting Standard Output to Current Console in Go Using CreateProcessWithTokenW

I'm working with Go and trying to launch a new CMD shell using CreateProcessWithTokenW. My goal is to redirect the standard output to the current console window so that I can run commands from the ...
OhGodWhy's user avatar
  • 185
0 votes
0 answers
28 views

Fix console output in Vistual Studio Code

in the normal console log output Output normal does not move anywhere, but when I try to run it through vs code, then there all shifts, new text printed over the old, etc., how can you fix it? Normal ...
Creeper's user avatar
  • 23
0 votes
2 answers
329 views

Incorrect output to the console in C [duplicate]

The purpose of the program is to get a symbol and then immediately display it on the screen. But the problem is that it outputs a different character, or nothing at all. I found that the output is in ...
GreenElephant's user avatar
2 votes
3 answers
3k views

How do I stop the command console from scrolling to the bottom every time there's a new entry?

New entries are added automatically, so when I'm trying to scroll up through old entries, I might get close but before I can read anything there's a new entry and it scrolls to the bottom. I've ...
Murrays Mining's user avatar
1 vote
1 answer
460 views

'The system cannot find the file specified' when starting conhost process

When I use the code down below to start a cmd window and move it into a panel, everything works OK. But when I replace cmd with conhost, it fails with the following error: 'The system cannot find the ...
Eric van Loon's user avatar
0 votes
1 answer
48 views

Clear and update console in Java through iterations

I am trying to create a version of Conway's Game of Life in Java, where after each iteration, the console is updated in some way to imitate the next generation. I have seen Runtime.getRuntime().exec(&...
RagingMonkey's user avatar
0 votes
0 answers
548 views

How can I have console output and input for Windows gui application?

Update: my app is c++ qt app. Options I have found: To have two separate apps: gui one and console one. Honestly, I would prefer not too. As I have appimage, rpm, deb, and qt installer framework ...
JenyaKh's user avatar
  • 2,268
0 votes
1 answer
21 views

Saving all Windows 10 cmd window content

I have a fairly lengthy batch process that runs a number of other batch files and programs. Some of the programs log to the window, but have already hooked the console streams so simple output ...
mark's user avatar
  • 352
-1 votes
1 answer
160 views

Print the output of a C++ program in internal console in Visual Studio, instead of default external cmd window

I tried the solution suggested in the question Having the output of a console application in Visual Studio instead of the console, but none of them are working. Please help.
Pawan Kumar's user avatar
0 votes
1 answer
30 views

C Named pipe CMD console app output 1st half disappears when scrollin

Hi I have this small issue where I created a Named pipe in C to execute commands in CMD on windows . The problem is when the following command is executed sc query state= all it returns 2000 ...
student_dev64's user avatar
0 votes
3 answers
571 views

How to exit a REPL from the command line

I'm currently learning Lua and also learning how to work with CMD. I know how to change a directory path and run my codes and files from that path but what I don't know and I'm here to ask for is how ...
kor's user avatar
  • 65
0 votes
1 answer
667 views

Windows batch. Put Serial port data in a variable

I have a hardware (battery controller) that send battery voltage over a serial port. It's just 4-digit value+endline ('1232\r\n') every 5 seconds. I need to read that value and if it's below a ...
ioSIS's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
13