An interface for interacting with a computer using typed commands in a text-oriented environment, as opposed to a graphical user interface (GUI).

1
vote
1answer
7 views

How to replace cmd with powershell on windows 10 when the option is greyed out?

Is there a way I can toggle this option when the toggle switch is disabled in the settings GUI of Windows 10?Ironically, I want powershell to be default but contrary to the greyed out option in ...
0
votes
0answers
6 views

SetText.exe - Window Title Changer - Not Working

Here is the link for SetText, a window title changing script:https://stackoverflow.com/questions/39021975/changing-title-of-an-application-when-launching-from-command-prompt/39033389#39033389I ...
0
votes
1answer
7 views

Delete files throughout a tree but only if they're in a named subfolder

I want to use del to delete files of a specific type within a large tree but ONLY IF they are in a named subfolder. For example, for these files:\test\sample.jpg\test\fred\pics\sample.jpg\test\...
1
vote
0answers
14 views

How Can I Execute DISM Through A Specific Source On Windows 10?

Right now I my computer crashes with errors like SystemService exception. It does this quite frequently. Especially if I run a GPU intensive application like a game.I've executed a DISM command for ...
0
votes
0answers
40 views

brew install package asks to install command line tools from a path that doesn't exist

I messed up my command line tools. I already had them installed, I also installed the beta 2 macOS 10 version from the apple developers site because the command brew install putty was asking me to ...
0
votes
1answer
47 views

What would happen if I increase the ping packet size

I am a newbie to this networking thing and I wonder something that if I increase the ping size to 65.600, how does it affect the internet traffic? ping –1 65500 [IP address]
0
votes
1answer
64 views

Large Data Processing: Removing lines in one text document found in another

I have 2 large text files (~500M, ~15GB ea) That look like this: FileP.txt:test@test.com:testtest test@test.com1:testtest1test@test.com2:testtest2test@test.com3:testtest3test@test.com4:...
1
vote
0answers
16 views

TSQL XP_CMDSHELL 7ZIP UNZIPPING

I am struggling to unzip a file from using 7-zip.I am running from SSMS the followng command, password is replaced by text "password".exec XP_CMDSHELL 'C:\"Program Files (x86)"\7-Zip\7z.exe e -...
1
vote
1answer
22 views

How to list options of a service

On CentOS, there is a service which we normally run service acme_donkey start registry I would like to find out if there are any options to this service, such debug, etc. Is there a way of doing this?...
0
votes
1answer
18 views

ubuntu command line - mkdir vs touch creating .doc file

simple question and im quite new. how come you can create a .doc file using mkdir? whats the difference when using touch instead of mkdir to create .doc file?thanks!
1
vote
0answers
46 views

Running a Powershell command in the Windows CMD and getting colour output

When I run this command in Powershell it outputs with colour.(curl wttr.in -UserAgent curl).ContentHowever when I run the same command in the Windows CMD, I get the same output but with no colour....
-4
votes
0answers
24 views

Can't run bootrec /fixboot [on hold]

have download creator tool and burned it on a flash i can success other 3 but cannit run it. I cant get rid of black screen after asus logo. (1803 version of windows for fixing input)
0
votes
0answers
22 views

Windows 10 - CMD - Return Current Audio Output Device

I've done some digging around in Google and Stack but I'm having trouble finding a method in command line that will return the value of the name of the current sound output device. I know it can be ...
0
votes
1answer
12 views

Cygwin - Run batch file in foreground

This seems like not possible. I've been trying to launch a batch file which has to run in foreground of the user session. so I ssh to Cygwin of remote host and run the batch file and it always ends ...
0
votes
0answers
8 views

How to scale an SVG relative to its canvas size with the command line

I'm trying to create a pipeline for rendering my vector graphics. I'm basically trying to upscale the vector by 16 times, rasterize it, then downscale to supersample it back down to native resolution, ...
-1
votes
1answer
32 views

Set proxy exception IPs with command line in windows

After the proxy tool is connected successfully, it's set its settings automatically in the Windows LAN settings. After every connect-disconnect action, I have to manually set proxy exceptions (i.e. ...
0
votes
3answers
71 views

MD5 the files in each subdirectory given a starting directory, placing the checksum file in the subdirectory

What flags do I need to give to the find command to enter the directory before running the -exec command?I have a directory filled with directories filled with files> root directory-> ...
0
votes
1answer
39 views

Is it faster to use WSL commands instead of cmd commands for file manipulation?

On Windows 10, it is possible to manipulate files through the command line via three separate built-in ways: Powershell,the command prompt, and throughbash commands via the WSL (Windows Subsystem ...
0
votes
0answers
12 views

Command App for Changing Window Title

Inside a command prompt window (cmd.exe) changing the title is very simple:Title Any Chosen NameHere are a couple of applets that will change the title name for any visible window:https://www....
-2
votes
1answer
37 views

How to Measure Total Duration of Video Files in a Directory?

Let's say I have a directory with 5 video files in it. How can I measure the total duration of all video files in this directory from terminal. Also, I want to be able to do this recursively to any ...
1
vote
2answers
29 views

How to specify executable python path?

My PATH variable looks like this:/home/elgin/anaconda3/bin:…:/usr/bin:…As you see above anaconda3 precedes /usr/bin. So when I type python in terminal, it gets python in the first anaconda3 path....
1
vote
0answers
35 views

The 'say' command is not working with the 'at' command

I'm running macOS 10.13.5, and I want the Mac to say something, such as the current time, with the at command for the specified time.I have already loaded the atrun daemon, and the following command ...
0
votes
0answers
22 views

How to run Night Light through Batch?

I found one stackoverflow discussion about it, but there was no answer.And apparently, they don't consider it a "programming-based" question (which is why I am asking here.)Anyways, I made a Batch ...
0
votes
1answer
20 views

Redhat linux 7 - dmidecode - command not found

I'm new to linux but can't find any answers elsewhere.I have a vanilla RHEL 7.1 installation and I want to run dmidecode and lshal, but when I attempt to run it it says "bash: command not found" for ...
-1
votes
2answers
48 views

Can you make Windows command prompt cmd+cygwin?

I want to make my windows command prompt cmd+cygwin. I should be able to run both windows cmd commands and cygwin commands from my windows cmd prompt. If I add C:\cygwin64\bin to my PATH variable i ...
1
vote
0answers
14 views

How to open launched executables as new tabs of command line tool?

It might be a simple question, but so far I haven't seen whether this is possible and how to do this.The batch of automatic tests I am running is launching a lot of command prompt windows which are ...
1
vote
1answer
30 views

Windows 10 is suspending a process started by batch file/command prompt

I have a command I'd like to run, which contains an executable and then a number of arguments. The executable in this case is Unreal Engine.The command that I am wanting to run is something along ...
1
vote
0answers
38 views

How to run a batch (xcopy) involving a network drive?

I would like to run this batch on a windows server 2008 :SET "DateToday=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%"echo %DateToday%mkdir C:\Log_%DateToday% xcopy /y "\\sf1coeur\AXA-CASH\GFPz %DateToday%" ...
0
votes
1answer
15 views

Recursively execute Linux 'ar' command

I have a directory with hundreds of sub-directories with many .lib files in them. I am able to use the ar -x filename.lib command to unpack one of them, but I was wondering how one would do this ...
0
votes
2answers
27 views

add folder to 7z with current date in front

I have a folder Foo that I want to backup to Foo.2018.07.12.7zand so far I tried this command:C:\"Program Files"\7-Zip\7z a "Foo%DATE%".7z Foobut the problem is that my date format has slashes ...
1
vote
1answer
72 views

Can't launch programs from command line in Windows

Since I've reinstalled Windows on my computer, I'm unable to run cmd /c start chromeEDIT: Not just Chrome. The same thing happens with start iexplore or start winword. start cmd works fine though....
1
vote
1answer
101 views

Batch File Automation issues

So, I want to create a batch file for my Minecraft Server to startup and then restart the server at the end of each day (midnight, preferably, but 24-hour period works as well)This is my startup ...
3
votes
1answer
47 views

Remove all but N files from directory recursively

I would like to whittle down a large database from the command line to N files, very similar to this question does. The only difference is that most of my files are in sub-directories, so I was ...
0
votes
1answer
30 views

7zip exclude folder by pattern in linux

I'm trying to achieve this but using 7z from linux command line:zip -r target.zip source_folder -x *.git* -x *node_modules/\*I tried with this but I get the following error: $ 7z a mtss.7z mtss-...
0
votes
1answer
25 views

Is “General Failure” the intended response after you put your computer to sleep while pinging something?

I'm curious as to what normally happens if you put your computer to sleep while you're pinging something.I get a few lines of "General Failure" immediately after waking the computer up. I assumed ...
0
votes
1answer
68 views

Single Shortcut runs both as UAC Admin and UAC Non-Admin

I would like a way to initiate a single command file - but that runs both with the full admin rights and the non-Admin token - Either running as non-admin - and converting to admin - or running as ...
0
votes
0answers
11 views

Automate install after bitsadmin download via CMD in windows

If I run this command bitsadmin /transfer mydownloadjob /download /priority normal https://the.earth.li/~sgtatham/putty/latest/w32/putty-0.70-installer.msi C:\Users\house\Desktop\filename.zip ...
0
votes
0answers
21 views

Windows CMD start program, suppress Desktop Window Manager

I am trying to run a program that has a command line interface, and parameters to suppress graphics. But my CMD window losing focus indicates to me that the Windows Desktop Window Manager is still ...
1
vote
2answers
33 views

Windows-to-Linux: Execute a shell script as user process (as bkgrnd) on remote machines

I am trying to do the following:1) Run a shell script on remote machine 1,2,and 3 (all Linux) from Windows machine.2) On my Windows machine I have plink which I am using in the following way:...
0
votes
1answer
37 views

Why would a command line program need user input when it's not specified in the source code

Why would a program that is run from the command line wait for user input (pressing Enter) if it wasn't programmed to do so?I was using an AWS EC2 instance to run a computationally intensive program ...
1
vote
1answer
33 views

How to make a Command Prompt shortcut to open a different directory

How do I make a Command Prompt shortcut to open a different directory? Currently, to navigate to the directory I want, I must open Command Prompt and typeC:\Users\me>cd ..\..\repos\RepoSet\...
0
votes
0answers
22 views

How to capture python interactive session on command line in windows?

I'd like to "log" all of the text (python shell prompts, my commands, python shell output) that displays on my console window after I start the python shell. I read about powershell's Tee-Object but ...
0
votes
0answers
28 views

Run a command if a terminal tab is idle

I always have multiple Terminal tabs open, each with a different purpose. I want to remind myself what that purpose is by echoing something (stored in a variable) whenever that tab becomes idle. (By ...
3
votes
1answer
19 views

How can I extract text before a character or string in a batch file?

I'm basically looking for the opposate of this post: https://stackoverflow.com/questions/47796707/how-to-extract-text-after-in-batch-file. I'm looking to extract the text before an equal sign in a ...
0
votes
1answer
16 views

Trying to start an app, but doesn't work correctly [closed]

I'm pretty new to PC with batch, so I don't understand this. I've been trying to open an app without admin privileges, because I might've forgotten the password to the PC, so I'm using a user profile. ...
0
votes
0answers
19 views

Windows 10 - Command prompt closes immediately after opening [duplicate]

Whenever I try to open CMD it automatically closes immediately.I'currently using the newest Insider Preview, but this problem already existed before I updated. I tried to use sfc /scannow in ...
0
votes
1answer
17 views

shell command on matching line (in vim: combine the global `:g` or `:v` command with shell command)

I want to use a shell command (fmt in this case) to operate on every (non-)matching line of a regex in a file. I'd prefer to do it within vim! I am, nonetheless, open for a pure shell/bash/zsh ...
0
votes
3answers
58 views

systemctl Failed to start service, Invalid argument

I need to run a Qt application on startup with root permission , below is the script I created using systemctl named QtApp.service[Unit]Description=QtApp[Service]ExecStart=exec su -l user -c '...
4
votes
1answer
181 views

Difficulty running pip from command prompt

I'm trying to install numpy on my computer following the instructions here.I've got the command prompt working to find python after adding it to my path and I installed it from python.org which ...
0
votes
0answers
17 views

ping hostname resolves to wrong ip

If I ping a server by the hostname from the command prompt, I get the wrong IP address. The IP address returned used to be the IP, but not anymore. How do I flush the cache? It is not the "ipconfig /...

153050per page