A command-line interface (or CLI) is a method of interacting with your OS or software by typing commands on your keyboard.

learn more… | top users | synonyms (3)

2
votes
0answers
417 views

Is there a command line interface to the Drobo tools in Windows?

Before powering down the Drobo and removing it you're supposed to use the "shutdown" functionality from the Drobo Dashboard. Is there a way to call this from the command line so it can be included in ...
1
vote
0answers
10 views

How to extract the Subject Alternative Name from a CSR by just using the openssl command?

I would need to extract the Subject Alternative Name from a CSR. Is there any way I can extract this other than using the "-text" in openssl req -in test.csr -text -noout? (Maybe similar with the ...
1
vote
0answers
21 views

command to wake up the windows system after sleep command

From C# program I want to call windows command prompt and make the system to sleep and after few seconds I should wake the system. I am successful in making the system sleep but I can't wake it up ...
1
vote
0answers
15 views

Get system volume from command prompt

I'm using NirCmd http://www.nirsoft.net/utils/nircmd.html utility to set the volume via the command prompt for a game but need to know what the current volume is upon the app start up. I found this ...
1
vote
0answers
17 views

php.exe can not find .dll files

I recently installed xampp which of course installs php. I want to run php from the command line so I added it to the PATH variable in windows using setx path ... This worked well so that now I ...
1
vote
0answers
34 views

Delete all files and folders in a specific directory older than 1 day except one folder with bat file using forfiles

Hello I want to delete all folders, subfolders and files older than 1 day in a specific directory and leave one folder untouched with the forfiles like the command below: forfiles /p ...
1
vote
0answers
15 views

getmac ERROR: Invalid class

When trying to run getmac from the Windows Command Prompt, I am getting ERROR: Invalid class. As a Windows utility, I'm not entirely sure why it's broken or how to go about fixing it. Can anyone ...
1
vote
0answers
22 views

How can I flash the screen to indicate a CMD process has completed?

I'm running a process on a remote Windows 8.1 PC through CMD, and have a Remote Desktop window open to monitor it. That window is usually in the background. How can I have CMD display a visual cue ...
1
vote
0answers
14 views

schtask Activate task when specific user login

I want to create a batch file that creates a scheduled task to run a .cmd file when a specific user logons. So far I've come up with this: @echo off schtasks /CREATE /RU %username% /TN "TaskName" /TR ...
1
vote
0answers
23 views

How can i track client isolation?

My wireless Router client isolation is enabled.Now how can i know that WiFi client is isolated without longing inside the router? Is there any script or command what i run in any local pc and that ...
1
vote
0answers
25 views

lspci -vvv output CorrErr and UnCorrErr change over time

lspci -vvv output shows flags such as CorrErr and UnCorrErr. I'm wondering if these flags can indicate health of the device and if they change over time. A sample output is below. Thanks. ...
1
vote
0answers
42 views

Why %USERDOMAIN% is not “NT AUTHORITY” for SYSTEM user?

Running the following command set USERDOMAIN set USERNAME in a Windows service will return USERDOMAIN=MY_CORPORATE_DOMAIN USERNAME=SYSTEM . But my service was running in "NT AUTHORITY\SYSTEM". ...
1
vote
0answers
15 views

Opening a “Unicode little endian without BOM” file from the command line with WinMerge?

I have a pair of "Unicode little endian without BOM" text files that I would like to diff each another via the command line. Unfortunately when I open them using the commandline in Winmerge they come ...
1
vote
0answers
106 views

How do I install Nix on a custom directory?

I have been trying to follow the Nix wiki to install Nix on a custom path /scratch/gopinath/nix. The /nix path is not accessible to me due to the restrictions on the system provided by my university. ...
1
vote
0answers
29 views

Different WiFi signal strengths on different commands

I'm connected to a WiFi network AIRWOLF. The two following commands on Windows 7 show different signal strengths. Why? netsh wlan show networks mode=bssid netsh wlan show interfaces The ...
1
vote
0answers
51 views

Cygwin and Cygwin64 missing prompt in terminal

I tried to install and reinstall cygwin and cygwin64. I also tried different mirror sites. Instead of seeing a line like user@PC~ $, I see a blank screen with a blinking cursor. The properties of ...
1
vote
0answers
20 views

How do I script chntpw wizard

I am using SystemRescueCd to reset passwords on laptops I need to fix for work. SystemRescueCd supports autostart scripts http://www.sysresccd.org/Sysresccd-manual-en_Run_your_own_scripts_with_autorun ...
1
vote
0answers
23 views

Set console width while redirecting the output

I'm trying to avoid wrapping long lines in the NetUsers output, and the output is ok using a cmd window or Console2 with 200 cols. However, if I'm redirecting the output to a file, the output is ...
1
vote
0answers
63 views

Is there a command line or scripting interface for KDE Baloo's file tagging?

KDE's Baloo allows to tag files by adding an extended file system attribute on the file system level (where supported), while keeping a separate index of all the tagged files. Searching within ...
1
vote
0answers
169 views

Windows .bat script to recursively archive (with 7zip) files in subfolders

I'm struggling to achieve the following DIR1 FileA FileB SUBDIR2 --->FileC --->FileD --->SUBDIR3 ------>FileE ------>FileF etc and end up ...
1
vote
0answers
167 views

Using batch to automate manage-bde

We would like to encrypt C (full disk) specifying a startup password (we are ok with this in plain text, it's temporary) and simply backup the recovery key to the desktop. So far what's working is ...
1
vote
0answers
73 views

Extract and replace images form a PDF file

I'm interested in finding a way (from command line only, in Linux) to extract images from PDF files, apply some effects and then put the new images back inside the PDF file. While I found a way to ...
1
vote
0answers
373 views

What is @OpenWithToastLogo.png?

Background Recently, I copy-n-pasted some text from Notepad into a command line window. The copied text included a TAB character prefixing the text I copied, for example "{tab}test.exe". When I ...
1
vote
0answers
96 views

Pipe a list of files into vlc and mpc

I'm trying to pipe a list of all my files that start with "m" in my music folder. This line grabs all of my filenames correctly. I'm using windows 7 command line. dir /s /b | findstr -i -r ...
1
vote
0answers
21 views

Windows 7 text input/graphics repainting in random areas

In the past few months I've been encountering this issue where the line of text being typed in the command prompt window reappears in a random place on screen and paints over whatever was previously ...
1
vote
0answers
64 views

7zip on command line: can I use both include and exclude switches?

Here's my directory structure (in Windows 8.1): parentdir\ child1\ child2\ grandchild1\ grandchild2\ grandchild3\ ... child3\ child4\ ... Using ...
1
vote
0answers
132 views

Batch File to upload via FTP - 550 Permission Denied

I am trying to create a batch file that will upload a single file by FTP every time it is ran. Everything looks good in windows cmd. I get past the authentication of user name and password and after ...
1
vote
0answers
64 views

Can I use ProxyCommand to run arbitrary commands on a target server via a jumpbox/middle server?

At work, we have a number of servers that we can only SSH into from our jumpbox server. Every now and then I need to execute a command on these servers. For example, if I want to execute df -H on ...
1
vote
0answers
39 views

Sort lines to form a unique words dictionary listing

Many a times we build dictionaries in online forums for typical words used in a forum, the user responds in following format in a phpbb forum term: defination hence the job is to collect all these ...
1
vote
0answers
15 views

yast network settings: print or log

I'm trying to configure a static ip address on OpenSuSe but don't know how to log or print the network settings to the console with Yast. How do I print out the yast settings? I've been reading the ...
1
vote
0answers
87 views

Unable to send files over 1 MB via FTP on Windows

I tried to send multiple files via FTP commands using simple batch script. It works fine when the file size is less than 1 MB but when the file is larger than 1 MB I get the following error log. ...
1
vote
0answers
134 views

Change playback device “default format” in Windows 7 from command line

How can I change the speaker's default audio format from the command line? I have an intermittent audio problem (probably from driver/sound card/motherboard incompatibility) that I can temporarily ...
1
vote
0answers
59 views

Is there a command line tool to run carbonite's “back this up”?

Is there some way to say "Back this up" to Carbonite on the command line on Windows? I know I can do it through explorer and the right click window, but I'm bit of a scripting fiend. I'm only trying ...
1
vote
0answers
31 views

Windows Script Issue - Works line by line, not as run.cmd

The following lines of code work perfectly for what I am wanting to do if I copy/past into CMD/DOS one line at a time. However, if I put all the code into a run.cmd file and run the file, it appears ...
1
vote
0answers
332 views

Display image with fit to window and single instance mode

I’ve got a stream of images (jpg) and I want to display each one as soon as it arrives. So, basically, here is what I want: There is currently some image on the screen; a new image arrives, my ...
1
vote
0answers
104 views

Linux command-line utils with built-in support of multithreading

I would like to be able to compare performance of multicore computers from a point of view of a user who performs typical day-to-day tasks in Linux. My current goal is to collect a list of compute ...
1
vote
0answers
109 views

allow sudo user to execute multiple commands for only ONE file

I'm trying to allow only one user to be able to use only 'cat,head,tail' on some of the log files. What is the exact syntax to use here. I tried user ALL /bin/cat /var/log/maillog Which works ...
1
vote
0answers
118 views

How to set up a multi-user text mode in Debian wheezy 7.6?

I'd like to set up one of the available runlevels to work as a 'multi-user text mode' runlevel. Such mode available e.g. on CentOS. Another example of what I need would be what you get when you add ...
1
vote
0answers
115 views

Appending filename and path in Batch file

I'm having a hard time learning how to use command lines and the using batch files. What I want to do is write a custom path and then add the filename so that the output could be saved there. This ...
1
vote
0answers
79 views

get output from cmdline application independently of system's locale

I'm trying to get the full OS-version information of a w32 host in a script (thus: from the cmdline), to be run on a variety of different machines. For this, i'm using the systeminfo as described ...
1
vote
0answers
63 views

Applications and .bat script get locked in Windows 7 for some minutes

I am playing around with Windows batch scripts and simple C++ applications on a Windows7 64Bit PC. The problem I am facing is that I cannot modify neither the batchfile nor the mingw-exe for minutes ...
1
vote
0answers
94 views

Why copy-paste in Windows command-line tools is usually cumbersome

I've used the command prompt, cygwin, mobaxterm in Windows. Although they do support copy-paste, the operation is usually not that straightforward. The selection of the text in the command prompt is ...
1
vote
0answers
200 views

.exe files wont close with task manager or command prompt - Windows 7

This is happening with my video game DayZ StandAlone and Google Chrome Browser and a few other programs. But I will close the program normally and it will appear closed until I check Task Manager. (I ...
1
vote
0answers
74 views

understanding HTTrack actions

i just started using HTTrack . and it offers 5 actions whenever i want to download a website for offline viewing. which are 1 Mirror Web Site(s) 2 Mirror Web Site(s) with Wizard 3 Just Get Files ...
1
vote
0answers
70 views

How to switch between DNS suffixes using CMD (netshell)?

at my job, I have to manually switch between: 1) append primary and connection specific DNS suffixes and 2) Append parent suffixes of the primary DNS suffix a bunch of times per day (due to a ...
1
vote
0answers
41 views

I copied a folder with copy&paste instead of 'xcopy'. How to fix that?

I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder). ...
1
vote
0answers
66 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
1
vote
0answers
738 views

OSX terminal command not found

I'm following a guide to setup airport in monitoring mode to do my networking exercise. I've made a shortcut to airport using this command: sudo ln -s ...
1
vote
0answers
1k views

Can't add Android platform to Cordova project as 'the command “android” failed'

I'm having trouble adding the Android platform to my Cordova project. When attempting to add the platform, I get the following error: Error: The command "android" failed. Make sure you have the ...
1
vote
0answers
217 views

How do i add command to my batch file to go get a screen shot of a webpage and return and save to my desktop?

I'm just learning about batch files and such, and I have been googling round and round trying to find how to create a batch file with a command that will go to my youtube page link and take a ...