We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [command-line]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
18 views

Batch concat ts files using Windows command prompt [duplicate]

I'm trying to batch concat files in all subfolders while naming the file after the specific folder it was taken from in Windows but I'm not familiar with the syntax. How would the following script ...
-1
votes
0answers
36 views

OpenSSL install error

I'm currently using Windows 7 64-bit and I want to install a software that uses OpenSSL. (HashPump) Then I got the error: fatal error: openssl/sha.h: No such file or directory. So I downloaded ...
0
votes
0answers
16 views

Why is access denied when using the Unified Write Filter on Windows 10 IoT? [migrated]

I'm using Windows 10 Enterprise IoT 64-bit and am trying to run the following command in the command prompt: uwfmgr.exe get-config The result is always "The command failed (Access is denied.)." ...
1
vote
1answer
28 views

Run a program with elevated rights and with arguments

in a elevated cmd i run this and it works fine "C:\Program Files (x86)\IBM\Notes\RegAsm.exe" /tlb PromatieScheduler.dll" but i need to run it as a batch file, i tried this powershell Start-Process -...
0
votes
2answers
54 views

How to enable USB device manager in Windows 10 from command-line or Registry?

I have disabled one of the USB device drivers from windows 10 Device manager in my tablet (to check something). It was the main USB device driver of Windows. This caused all USB devices to stop ...
0
votes
1answer
69 views

wsl' is not recognized as an internal or external command

I installed Windows Subsystem for Linux and turned it on under windows turn ON OFF features. And then restarted my Pc. I did check on cmd soon after restarting the PC by typing "wsl" and it works. But ...
0
votes
1answer
29 views

php curl not returning bash result

I have a file on the remote server called test.sh which returns two lines when called from the command line with './test.sh'. So far so good. I also have a php file with a curl command called result....
1
vote
0answers
17 views

Windows Powershell and Command Prompt windows shrink when commands are used

I'm not sure what causes it to shrink this way. Here are some things that make it shrink: npx install flutter doctor things that don't: cding, other folder actions launching editors like python or ...
0
votes
0answers
11 views

Adding user to group without breaking the script

I'm trying to write installation script for our workspace. Many of our automated scripts run docker without the sudo command as they were used locally and it was not a problem to set up the ...
0
votes
1answer
21 views

How to change photo screen saver slide show speed from registery or commandline in Windows 10?

In Windows 10 , How to change photo screen saver slide show speed from registery or through commandline in Windows 10 to "slow" speed ?
0
votes
0answers
4 views

sql server 2014 / 2016 bcp command no longer adds CRLF to the end of last line.?

the bcp command up to / in sp3 v 12.0.6108.1 adds a CRLF to all lines, including the last line. this is no longer the case after installing v 2014.120.6108.1 normally not an issue except when the ...
0
votes
0answers
9 views

Command line options for TightVNC Viewer to autoscale and specify geometry and window placement of window?

What command line options can one one use to make a window scale when resized and also specify the place the window and how large to make the Window (not specifying the resolution of the remote screen)...
1
vote
3answers
39 views

Recursivly merge txt files in a batch

I have one folder that contains several subfolders and each of those contains 10k+ small txt files. Now I need to merge all files from each subfolder into one big txt file for further processing. If ...
0
votes
0answers
15 views

Can't execute python script with CMD despite adding python interpreter to PATH

I recently installed python 3.8. My IDE does not support a python interpreter so I have a CMD window open next to the IDE in which I intend to execute my python scripts. I installed python 3.8 in: C:...
1
vote
1answer
36 views

Is there a way to make custom function to power button in windows 10?

Is there a way to make pressing power button opens a specific application or running command-line instead of (shutdown , standby , hibernate , nothing ) on windows-10 ?
0
votes
0answers
25 views

Clear PowerShell while process is running

Every online guide for clearing the PowerShell says to use the command clear, but what if I have a process currently running? On Mac OSX, I can use Cmd+K to clear the console at any point. Is there an ...
0
votes
0answers
14 views

Broke Python Path

I was installing and reinstalling Python and somewhere in the process, I broke my path. Whenever I type python into the cmd line, the windows store pops up. In the user variables I have: variable ...
0
votes
0answers
13 views

once connected to internet, I need to upload 7 days of data into a website [closed]

I need to write a command in batch file. So that every time I connect to internet, the file should be able to upload the latest 7 days of files into a website/server. So how should I perform this?
2
votes
2answers
69 views

Windows equivalent of $ in unix commands

I am following a documentation and executing some commands in Windows 10 command prompt. I have executed the first two commands using setx, since setx is the Windows' equivalent for export and when I ...
1
vote
1answer
44 views

Need help locating SSH access on cPanel

I have cpanel 78.0.41, looking up online I've been told that it is in Security/SSH Access or Advanced/SSH Access but I can't locate it anywhere. I also tried to locate the terminal but I can't see it ...
0
votes
1answer
28 views

Htpasswd command generate nothing

this is my first post here! I have this weird problem: I want to generate a password, but it generate nothing, I don't know why. Command: htpasswd –c a.htpasswd user Output of this command: Usage:...
0
votes
1answer
35 views

Equivalent of export command in Windows

I am following a documentation and executing some commands in Windows 10 command prompt: export OPENAI_LOG_FORMAT='stdout,log,csv,tensorboard' export OPENAI_LOGDIR=path/to/tensorboard/data ...
0
votes
0answers
26 views

How to find error in last executed command in a cmd script file?

I have a test.cmd file with the following content: systeminfo | findstr /B /C:"OS Version" PAUSE ECHO YES PAUSE EXIT Works perfectly fine. However if I purposely do a typo and change systeminfo to ...
0
votes
0answers
34 views

ValueError: None values not supported

I'm working on the recurrent neural network model. While I'm trying to fit my rnnmodel it gives me an error like below. File "rnntrain.py", line 123, in <module> validation_split=...
0
votes
0answers
28 views

How can I solve “Error: Cannot find module '@babel/parser' ” after 'vue create' command?

I am new to Vue.js. I tried to create new projet according to tutorials and official Vue/CLI manual. 1) First I ran the command npm install @vue/cli -g. 2) Then I ran the command vue create my-...
1
vote
1answer
25 views

PHP ffmpeg trying to include a variable but it's not executing at all

I have the following variables set in PHP: $ffmpeg = ffmpeg.exe; $VideoFilename = "C:/Videos/VideoFile_1.mp4"; $CroppedVideoFilename= "C:/Videos/VideoFile_1_Cropped.mp4"; I have the following line ...
0
votes
0answers
19 views

VyOS: how can I change the console command line's background and text color?

I use VyOS VMs (open source router) which I access directly using VMWare Workstation (I access the console). VyOS has only command line and no GUI. The background of the CLI interface is black and ...
0
votes
1answer
22 views

Getting permission error on window CLI

I am running this command on window i.e. C:\Windows\system32\>netstat and getting Access is Denied. So please let me know how can i do this?
1
vote
1answer
83 views

Batch command to emulate Windows “Replace or Skip” options when copying or moving files

In Windows 10 File Explorer, I attempt to copy or move x.txt into a folder already containing a file named x.txt. Windows gives me a dialog offering a choice: Replace the file in the destination, Skip ...
0
votes
1answer
39 views

Run bat file as administator != CMD as admin & execute line by line

I hope someone can help with this issue. SO Win10 x64. I need to copy one XPI file (Firefox extension) to a Program Files (not x86) subfolder. If I do a simple bat file, and run it as administrator ...
1
vote
1answer
28 views

Can not run python in cmd prompt

I know this question has been asked before but I can't find a solution that will work for me. I have uninstalled and reinstalled python serval times and changed the path location. Whenever I run ...
0
votes
2answers
34 views

Does copy command not accept variable on command line?

How can I use a variable in batch file for copy command to provide path for root folder? set destination= "c:\destination folder" mkdir %destination% SET source = "C:\source folder\" SET source_full ...
0
votes
1answer
48 views

How to view my GPU's base frequency and memory type using command prompt?

I tried using wmic path win32_VideoController command but it is not showing the base frequency and memory type.
0
votes
1answer
37 views

How could we use curl to send a GET request to an external API‽?

I am currently trying to use OneSignal REST API. I would like to use the GET method to invoke the View Apps operation: I have tried to use PowerShell with the following command, using my own APP_ID: ...
-1
votes
0answers
29 views

how to find a filename in a directory in linux and store it in a variable

how to find a filename in a directory full of files in linux and store just that filename in a variable say i have directory Test which have files test341 rest21 west2341. in path /home/ubuntu/Test/ ...
1
vote
1answer
58 views

Windows 10 cmd/powershell: cd to a network share?

Ok, I have seen: Change working directory to network share - however, it does not seem to work for me on Windows 10. At work, I have a network share, let's say, at local IP address 20.0.0.1; so, ...
1
vote
1answer
33 views

Command Line call for Reliability Monitor

Does anyone know how to call and display the Reliability Monitor via command line? I'm able to display the Security and Maintenance via: control /name Microsoft.SecurityCenter But I can't discover ...
0
votes
0answers
27 views

unable to insatll selenium using pip install selenium

When I tried installing selenium on Python 3.7, I'm getting below error: C:\Python 3.7\Scripts>pip install selenium Traceback (most recent call last): File "c:\users\kramachandra\appdata\local\...
0
votes
0answers
13 views

How to change default input language programmatically at Windows startup

I want to change Default input language programmatically at Windows startup. The reason for that is I have one keyboard layout on my laptop and other on my external (USB) keyboard, which is connected ...
0
votes
0answers
41 views

Copy files while rearranging folder structure

On my Synology station I have a huge photo archive with the following structure: /volume1/photo/2019/ +--January +--@eaDir (hidden folder) ...
2
votes
0answers
24 views

On a Thai Windows 10 install, do Thai filenames work in the command prompt?

The Windows command prompt uses fixed width fonts. This is fine for most western languages as well as Chinese, Japanese, and Korean. But for some languages fixed width fonts are not really possible ...
0
votes
0answers
84 views

matplotlib installation error in windows 10

Installed Python to path and tried installing matplotlib via command prompt using pip, but instead after typing the command: C:\Windows\system32>python -m pip install -U matplotlib I get this ...
1
vote
1answer
38 views

How do I start Docker Desktop for Windows from command line?

I have set my Docker Desktop to not start up automatically at log in. Is there a way to start Docker Desktop for Windows from the command line? I can't find any reference to it in the official ...
0
votes
0answers
30 views

Rename Default User in Qubes Virtual Machine

I downloaded a canned Qubes 4.0 VM from OSBoxes. It comes with a default account named osboxes (password osboxes.org). How can I rename that account?
0
votes
1answer
15 views

Compress multiple folders with Winrar command line and batch

I want to compress all the folders that contain the word (Album), these folders have the following structure Michael Jackson\Invincible (Album) Michael Jackson\Thriller (Album) Luciano Pavarotti\'O ...
0
votes
1answer
19 views

Disassociate Sublime with batch files

Windows user - I made the mistake of associating a batch file with Sublime so each time I open it, instead of running, it opens in Sublime I have not access to the command prompt (hence the reason to ...
0
votes
0answers
29 views

Why do some apps which work from command prompt dont run from powershell?

Taking an example of a exe called nimble. I can access this program through command prompt without issues. However when I try to type nimble in powershell, it gives me PS C:\Users\risharan\DevSpace\...
0
votes
1answer
49 views

Batch Script for Concatenate multiple raw/binary files - Windows command line < reads from a filtered file and pass it to another cmd [duplicate]

I have different types of file in the same folder, which I have filtered and redirected to a list.txt file, using a separate script. List.txt has the name of the binary files , which I need to ...
0
votes
1answer
50 views

Win 10 - Display where Known Folder ?FOLDERID_Documents points to via Command line or Powershell

Does anyone know a method for displaying where the Known Folder ?FOLDERID_Documents currently points to within Windows 10 (Version 1703)? I need a method than can be carried out from the DOS Command ...
0
votes
0answers
15 views

How comd `command` works but `sudo command` doesn't?

I followed the guide on how to install jupyterhub here https://jupyterhub.readthedocs.io/en/stable/quickstart.html and I managed to install jupyterhub with conda. So far so good. I can jupyterhub ...