Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Terminal Powershell differences

When I type dir /A into terminal I get desirable output, but when I type the same to Powershell i get dir : Cannot find path 'C:\A' because it does not exist. + CategoryInfo : ObjectNotFound: ...
konto's user avatar
  • 33
0 votes
0 answers
33 views

Is there a name for the text that shows up after executing each command line in a CLI?

for example in linux terminal I have jurek@debian:~$ man help No manual entry for help I want to know how the second line is called bc I want to ask an other question "How to copy this term (I'm ...
konto's user avatar
  • 33
0 votes
1 answer
39 views

Fairly new computer, windows 10 pro, not able to open cmd in a specific path by typing cmd in the address bar of file explorer

I used to be able to do this on my laptop. But now I have a desktop and when I try this, it just shows C:\> instead of being in the path I want it to be in. I have no idea how to fix this or where ...
Starship's user avatar
0 votes
2 answers
98 views

Open Cygwin/MinGW/PowerShell/Cmd in current folder open in Windows Explorer

Lets say I have a folder open in Windows Explorer like this: I want that I be able to open a Cygwin terminal directly here by using keyboard shortcut or alteast by doing right click and selecting an ...
quantum231's user avatar
1 vote
1 answer
57 views

Windows 11 Browser videos are not visible behind transparent CMD window

Hi I am experiencing a strange issue with my recently installed Windows 11, I adjusted transparency of CMD terminal window such that the background contents are visible. It helps to read documentation ...
Zain Ul Abidin's user avatar
0 votes
1 answer
130 views

Windows Terminal: Open cmd.exe then run script

I want to create .bat file to open cmd.exe in Windows Terminal and activate python environment cd D:\pythonApp venv\Scripts\activate this successfully open cmd in Terminal and set the directory wt....
uingtea's user avatar
  • 101
0 votes
1 answer
35 views

How can I run Cygwin Terminal under a current Cygwin installation under Windows 10?

In the past I have used Cygwin Terminal, i.e. a window similar in external appearance and external behavior to the DOS/Windows command line window that runs natively under Windows. Right now, in my ...
Christos Hayward's user avatar
0 votes
0 answers
53 views

Putty history access weird behavior

I'm using PuTTY v0.78 on a Win10 host, connecting to Ubuntu v22.04. After I've pasted any command into the PuTTY terminal, when I scroll though the history using ↑, I can't scroll up to the prompt ...
Daros1001's user avatar
1 vote
1 answer
105 views

git is unable to properly determine the terminal width (git-bash, windows)

As you can see in the screenshot, the terminal is currently 100 characters wide, and both methods of detecting such that I'm aware of are returning the correct value. Despite this, unless I explicitly ...
davidmwhynot's user avatar
0 votes
2 answers
254 views

Windows Terminal launches extra window with error - cannot find file

I have a 404 style error when launching Windows Terminal. As you can see, the path has been split in to 2 parameters on the space in "Program Files". Does any one know how to correct this ...
IbrarMumtaz's user avatar
1 vote
1 answer
482 views

What's the difference between git-bash.exe and bash.exe and how they interact with Windows Terminal?

I've installed Git for Windows. I want to run git-bash in a Windows Terminal tab. I initially configured a git-bash profile, in Windows Terminal, whose Command Line field I populated with C:\Program ...
StoneThrow's user avatar
  • 1,197
0 votes
0 answers
82 views

Change PowerShell display settings when running an .exe program

I have a simple .exe program that prints messages to the Windows terminal (console). This program is operated by someone who needs the font size to be as big as possible. Is it possible to change the ...
Marko Gulin's user avatar
0 votes
0 answers
50 views

Why does working in the own directory requires permission in Windows?

So I'm working in the directory C:\Users\terminator that's me (terminator user), and I have a workspace folder inside terminator If I try to move files using a code editor I get the following error ...
Yanjan. Kaf.'s user avatar
0 votes
0 answers
34 views

Teracopy 3.1 flashes terminal window after finishing file transfers

I am using Teracopy 3.1 on a pc running Windows 10 x64. After finishing any file transfers, Teracopy flashes a terminal window. How do I make it stop doing this?
hobachit's user avatar
-2 votes
2 answers
287 views

How to use CD command in Windows Terminal with custom environment variables?

If I create a environment variable, I can use it with Win+R and enter %MyVariable%. The directory opens in Windows Explorer. However, if I try to do the following using Windows Terminal cd %MyVariable%...
iamveryfriendly's user avatar
0 votes
0 answers
34 views

KMV Switch, monitor not turning on

I have a terminal and a pc connected to my monitor through a 2 port usb displayport cable kvm switch (model cs22dp). My problem is when I click the button to switch to the pc with internet it turns ...
Johnny B's user avatar
0 votes
1 answer
443 views

TMUX does not print full prompt on the windows terminal

Hello I have the following config for TMUX: set -sg escape-time 50 # https://github.com/microsoft/WSL/issues/5931 set-option -sa terminal-overrides ",xterm-256color:RGB" set -g mouse on ...
Daniel Hornik's user avatar
0 votes
1 answer
21 views

conemu64 terminal color changed to reddish color

In Conemu64 I was installing updates and pressed Ctrl + C to cancel the updating of softwares installed suddenly the terminal color is changed to reddish. In order to simulate the above operation we ...
user avatar
1 vote
2 answers
291 views

How to change key binding for "Delete all characters before the cursor" in Windows Terminal?

I am trying to mimic the keybord shortcut behaviour of Bash to Windows Terminal. In bash, "Ctrl+U" does "Delete all characters before the cursor", In Windows Terminal, "Ctrl+...
SimZhou's user avatar
  • 111
0 votes
0 answers
324 views

Color highlight stdout of a debugged/launched process in vscode

I am using VSCode as a main IDE. When I'm launching (or debugging) my developed software, which is usually a console application (be it either, c++, java, or whatever) I'd like to see its stdout ...
original.roland's user avatar
1 vote
0 answers
16 views

How to disable Windows built-in keyboard using command [duplicate]

Is there a way i can disable the Windows built-in keyboard via Terminal Preview, Just like how i can accomplish the same thing on Ubuntu with thee command xinput disable <key> ?
Arduino_Sentinel's user avatar
0 votes
1 answer
629 views

How to set an startup command for PowerShell in Windows Terminal app for specific pane?

I set Terminal Windows application to be in startup of Windows. I have the following panes in Terminal in the following order: Ubuntu PowerShell PowerShell CMD Ubuntu Now I want to whenever I open ...
Saeed's user avatar
  • 423
2 votes
1 answer
2k views

How to add Windows Store Apps to PATH?

I want to add the Windows Terminal (wt) to PATH, as I get the following error if I execute the commands "wt" and "wt.exe": My problem is that Micro$oft has apparently added a ...
MySurmise's user avatar
1 vote
1 answer
1k views

Windows terminal with WSL - starting directory on same path as wt has been launched

For various windows terminal profiles it seems to be possible to open up a new shell in the directory the shell has been opened with. (e.g. context menu option "Open in Terminal"), for WSL ...
Platinium's user avatar
0 votes
0 answers
367 views

WSL2 duplicated terminal

I installed WSL2 and everything went fine, but after installing, I see 2 different profiles in Terminal: One has the Ubuntu Icon (left), and the other has the generic Terminal icon (right): They look ...
user1753532's user avatar
2 votes
1 answer
728 views

Statement completion in Windows Terminal displays but doesn't engage

Recently Windows Terminal got updated and it got History suggestions. It looks like this: As I type, it shows the history item that matches my entry. I thought pressing Tab would auto complete the ...
AngryHacker's user avatar
  • 18.7k
1 vote
0 answers
347 views

Globally store all command line / bash / windows terminal input and output into text log files

I am looking for a global and automated way to always log all the input and output of all of the command line windows I am using into text files. I am using 3 types of console on Win 10 - git-bash.exe,...
Bartosz's user avatar
  • 173
0 votes
1 answer
1k views

Windows ipconfig returns wrong external IP address

I have recently changed my external IP address but for some reason, ipconfig is still returning the old IP address: My old external IP address starts with 93. If I access my router or whatismyip.net ...
soltex's user avatar
  • 101
0 votes
2 answers
6k views

On windows startup terminal opens automatically and showing file not found error [duplicate]

I am using Windows 11. Every time I boot my computer the terminal opens automatically and show some error that some file not found. [2022-07-26 21:33:19.746] unable to open "C:\Users\Hridoy\...
Nahidujjaman Hridoy's user avatar
0 votes
1 answer
698 views

How to open windows 10 in cli/tui mode

I want know if it possible to install and boot windows 10 home in cli/tui like you would do in something like arch linux i know that windows before xp had dos mode because of 9x kernel but windows xp ...
user avatar
0 votes
1 answer
1k views

Unable to run aliases with cmder on command line - aliases not recognised

I am using cmder on Windows 10, I have some aliases in the user-aliases.cmd file, I created a new alias using the alias command on the command line and there are some that were already in the file ...
user20010's user avatar
0 votes
2 answers
503 views

Error running and killing then run new batch file on specific time period

Error running and killing then run another batch file on specific time period. Tried to run timeout and CALL simultaneously but I guess there's an error in my lines so it doesnt go through. Since my ....
dawnslayer's user avatar
1 vote
1 answer
2k views

Opening file location in Ubuntu with Windows Terminal Preview

I found this article very helpful but would find it really useful to be able to do the same with an Ubuntu tab in WTP. Is this possible?
Nick Hall's user avatar
1 vote
1 answer
797 views

Why does a windows Batch File work in the traditional windows console host but throws an error in the new windows terminal

I am able to run a simple batch file in the old traditional windows console host (CMD) but when running it in the new windows terminal it throws an error and fails. Various errors that are thrown: I ...
Dainank's user avatar
  • 125
0 votes
0 answers
528 views

Windows powershell and cmd not loading properly (W11)

So my terminal was working completely fine this afternoon. I turn it on in the evening to work on a flutter project. After trying to run my file, I realised that the VScode terminal was unable to run ...
Emmanuel 's user avatar
0 votes
2 answers
361 views

Run Window can't open wt

A couple days ago I reinstalled windows and ever since, I can't open the Windows Terminal through the run window. I tried: Changing permissions to default, following this question Can't open ...
Miguel Fernández's user avatar
0 votes
1 answer
509 views

Syntax differences between Command Prompt and Terminal

I am studying the differences between the Windows command prompt syntax and the Ubuntu Terminal syntax. I've been messing around with cd, cd(space backslash), cd(backslash), cd/, cd /, cd.., cd .., ...
Meester Moo's user avatar
1 vote
1 answer
4k views

What is the shell exactly when using Cmder on Windows?

I've just started using Cmder on Windows 7 and I understand that is a console emulator for Windows which gives a better experience than using cmd. However as I understand it the emulator needs to run ...
user20010's user avatar
2 votes
1 answer
1k views

Can't open Windows Terminal with Windows + R, while it opens fine from a command prompt

When I press Win + R and type wt or wt.exe, it gets stuck loading for a few seconds and then stops, failing to open my Windows Terminal. How can I solve this or find a short workaround? I don't want ...
Miguel Fernández's user avatar
0 votes
0 answers
394 views

Windows+IntelliJ IDEA 2021.3.1+Git for Windows v2.34.1: Git bash shell in Idea terminal, skip to next/previous word not working ( Ctrl + ← | Ctrl+ → )

I installed git for windows and linked bash shell in IntelliJ but I'm missing one shortcut which saves me a lot of time is a direct move to the next/previous word in the command line. how can I make ...
Rajat Verma's user avatar
1 vote
1 answer
1k views

How to terminate a Batch File if it is in the middle of an IF command block?

I have recently discovered that if I press ctrl+C to cancel a running timeout command that is placed within an IF command block, then rather than being immediately presented with the "terminate ...
TechHorse's user avatar
  • 347
2 votes
2 answers
802 views

How do Windows terminals make Chinese and English characters 1:2 in width?

ipconfig output in CMD: ipconfig output in PowerShell: ipconfig output in Git Bash: Notice the widths of the Chinese and English characters are always 1:2, no matter which font family is used, and ...
Wenfang Du's user avatar
6 votes
1 answer
10k views

Where is the winget downloaded exe go?

ITNOA As you can see Where do downloaded .exe files go? ask When I run something like winget install vlc it downloads vlc.exe but where is it saved? I downloaded a large installer file with winget but ...
sorosh_sabz's user avatar
0 votes
1 answer
83 views

windows terminal shortcut can't run command

I'm trying to create a terminal helper with a windows terminal. I've created a shortcut with following target: wt ; new-tab -p "Server" -d D:\e\server python manage.py runserver; new-tab -p &...
Maifee Ul Asad's user avatar
3 votes
1 answer
2k views

Windows Terminal opens on startup with proxy error

Note: This is a duplicate of When I Start my Windows 11 computer, the terminal pops up saying: Error writing proxy settings. (5) Access is denied which has no clear solution for this problem, as it ...
bzr's user avatar
  • 147
1 vote
1 answer
2k views

Windows batch scripting: use absolute path with spaces to run terminal as admin

I have an issue when using absolute path in batch script. Script Code: powershell -c start -verb runas cmd '/c start cd "%~dp0%SomeScript.bat"' %~dp0% : absolute path to the script I want ...
OSTips's user avatar
  • 11
2 votes
1 answer
642 views

What is the Windows equivalent of getty?

In Linux, you can connect a serial terminal to your machine and access it via /dev/ttySx. Similarly, you can connect a serial terminal to your Windows machine and acccess it via COMx. You can easily ...
Lennon McLean's user avatar
0 votes
1 answer
1k views

Can I use Cygwin with Windows-native-only terminal apps?

I use a Cygwin on Windows relatively often. However - the Cygwin terminal app, mintty.exe, is... well, underwhelming. It has repaint issues, resizes don't always get communicated like I would expect ...
einpoklum's user avatar
  • 9,751
1 vote
1 answer
402 views

Up/down hotkeys in Microsoft Terminal

Microsoft Terminal looks pretty good. There must be a hotkey to jump upward and downward, as you'd do with Shift+PageUp/PageDown in gnome terminal, but I can't find it. (I can scroll with the mouse ...
Jellicle's user avatar
  • 2,284
0 votes
2 answers
754 views

Copy path to directory from windows explorer?

I'm new to windows (a strange statement but true). I like using shells, but sometimes windows is set up to use the file explore. Is there a way of copying a path from the file explorer... so that I ...
Att Righ's user avatar
  • 600