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)

0
votes
0answers
23 views

How to print a file from command line in Windows?

I want to print a file (any kind of file) to the printer which is running on my local machine's standard Tcp/Ip port 8100 (not on lpt or COM etc). Can any one give me the exact command to do same?
2
votes
1answer
22 views

7zip - Command Line: how to set output path?

I want to compress all HTM files in D:\HTM\ to an archive called comp.7z which is created in D:\HTM\ directory, so I do the following: 7z a -o "D:\HTM" comp.7z "D:\HTM" and get an error, exactly as ...
1
vote
2answers
34 views

ipconfig from the CMD opens and closes another CMD

I tried running ipconfig from CMD, both elevated and not, but instead of displaying it's output inline, it opens another CMD and closes it immediately after the output is listed. I've tried running ...
-2
votes
2answers
33 views

Converting an ELF executable (Linux) into a PE.exe (Windows)

I am a newbie when it comes to using machine code files!!! I need to use a machine code executable obtained as ELF (Linux) into an exe file for Windows. I have tried 'objconv' but, though the format ...
1
vote
1answer
60 views

A .bat file to close two services running in background

I have a Windows 7 computer with three accounts (in hierarchical order): Administrator (with password) type Administrator Guest (with a password different from that of Administrator) type ...
1
vote
0answers
29 views

make a c program run without opening a cmd window [on hold]

how can i make a c program run without opening a CMD window, i tried -mwindows flag, used WinMain Entry instead of main, but without results, the cmd still pop up. i tried ShowWindow function by ...
1
vote
1answer
37 views

Why doesn't my Python script save the file when I use Task Scheduler?

I have a Python script that uses csv.writer to create a csv file. This works fine when I run it from the command line, but no file is created when I run the script using Windows Task Scheduler. The ...
-4
votes
0answers
23 views

The name of an old application [on hold]

I once had that that tiny application that create a standalone command line application that has all the files that you want to hide, then asks you for a password to extract its content when you run ...
1
vote
0answers
8 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 ...
0
votes
1answer
20 views

Winrar command line compression ratio

I have a Winrar command line that look like this: "c:\Program Files\WinRAR\WinRAR.exe" a -afrar -s -m5 "e:\output.rar" "e:\foldertozip" The folder that I am compress by default is 9.08MB. The ...
1
vote
2answers
15 views

Winrar command line zip folder

I am trying to use WinRAR command line to zip folder: "c:\Program Files\WinRAR\WinRAR.exe" a -afzip "e:\output.zip" "e:\foldertozip\" If the foldertozip contains file, the command line works. But ...
1
vote
1answer
43 views

How can I elevate my cmd prompt using the the cmd line

I follow this script "runas /profile /user:administrator\administrator cmd"and when it prompts me for my password it always says that it is incorrect even though i am spelling it correctly. help ...
0
votes
1answer
30 views

How do I make exclamation marks show using echo

Earlier today, I was continuing on making an RAR Password Decryptor. I was testing it out on a test RAR file with the password being just an exclamation mark but when I use my Decryptor all it says is ...
1
vote
1answer
19 views

Change Ownership Of Linux Directory

I Have a Netgear ReadyNAS and have set up SFTP on it. I created a user named "newuser" and changed directory to "newdirectory". If I run the command chown newuser * -R inside of "newdirectory", will ...
1
vote
1answer
22 views

Suppress extraction of __MACOSX directory when unzipping

ZIP archives produced on Mac OS X systems usually include a __MACOSX directory which is useless, annoying, and unwanted on pretty much every other OS. For unpacking ZIP archives I use Info-ZIP, which ...
1
vote
2answers
28 views

How to make Zsh not store failed command

Problem I'm using oh-my-zsh and Antigen to manage my Zsh. Sometimes I will accidentally enter a wrong/failed command into Zsh and it is very annoying when the zsh-autosuggestions plugin throws up ...
2
votes
1answer
31 views

Batch - Renaming network interfaces based on index with WMIC and netsh

I have two Intel NIC's that I need to rename based on their index numbers, WMIC is nice in that it seems to always return index numbers in numerical order so we can take the output directly without ...
0
votes
2answers
33 views

How to echo string of another string shell variable

We would like to echo the value of a shell variable which has another variable string in its variable name. eg: we want the following output var1=1 var2=2 We tried several various forms similar to ...
0
votes
0answers
24 views

How to identify USB webcam by serial number from the Linux command line

How do you get a USB webcam’s serial number from the Linux command line? I have multiple USB webcams connected to an Ubuntu machine. They all show up as /dev/video0, /dev/video1, /dev/video2, etc, ...
0
votes
0answers
10 views

How to disable (and re-enable) notifications on GNOME Shell version 3.8.4 from the command line?

I am running Centos 7 with GNOME-Shell 3.8.4. I can happily disable all notifications from the top-right menu, as pictured: I need to do that from the command line, though, because I need to ...
1
vote
1answer
17 views

Can't find the good Cygwin shell executable

I am working on Windows 7 and I need Cygwin for my project. I am trying to launch the Cygwin terminal from a Java programm and then write command lines but my problem is that I can't find the right ...
-4
votes
1answer
23 views

How to use command line to stop application from another pc

I have 32 clients are running on MS Windows XP numbered as GON1NU01 to GON1NU32. I want to stop application from command line to stop all or selected clients "App_Stop_All". What command should I ...
0
votes
1answer
12 views

Can't change network password from command line

I have a previous question relating to how one can change a password of the 'bottom' client when recursively logged in to multiple RDP clients: Change Windows password when in multiple RDP One ...
0
votes
2answers
37 views

Ubuntu 10.04.2 LTS backup server only starts up in command line

Basically i'm helping out at the offices where family works. They have this backup server computer - which is running Ubuntu 10.04.2 LTS - which they apparently in the past could just turn on and then ...
0
votes
1answer
26 views

How to enable writing to C drive from Dos App?

I know it's a bad idea from security perspective. But it absolutely has to be done. Problem: Windows 7 Home Premium x64, needs to run a DOS app that writes an output file to C:\ The app runs fine, ...
0
votes
0answers
12 views

posh-git not reading my profile

I'm using posh-git (part of Github for Windows). I want to set a custom prompt as in this question. However, posh-git is not reading my profile file. I have tried: Running PowerShell as ...
0
votes
1answer
12 views

Changing the Accept header for a session with Chrome

If I want to change the user agent string for an entire session, I can start Chrome from the command line with the user agent switch, e.g. open ~/Applications/Google\ Chrome.app --args ...
0
votes
1answer
32 views

Special key sequence to run cmd at Windows lock screen

I'm aware of the hack where you can copy cmd.exe to the program that launches the sticky keys GUI, thereby giving you command line admin access from the windows lock screen after pressing Shift seven ...
0
votes
0answers
29 views

Can Not Start Glassfish 4.1 Server, Download, Unzip, Install, Windows 8.1

Before I start I wanted to say, I have to put a space in many of the links because I am new to superuser & have restrictions. You'll find the spaces http:// (HERE) localhost:4848/. I'm sorry for ...
0
votes
0answers
7 views

VirtualBox command-line - setting up port forwarding

I know how to configure NAT-based port forwarding using the VirtualBox graphical interface (as in the example below). How can I do the same via the command line?
1
vote
2answers
35 views

Extract Specific Fields from a Multi-Lined Text File via batch-file (.BAT)

I am new to batch-program and my wife asked me to help her to speed up her load. Question is, how will I extract the business date, terminal num(00099106), transaction amount, and commission from this ...
-1
votes
0answers
15 views

General Installation and PUP's [closed]

A general summation of my issue is in regards to PUP's and the ability to seek them out when there is not a clear choice in the "parent" installers executable. Is there some function built-in to ...
0
votes
1answer
9 views

TYPE the contents of all the E**01 files in the a folder and redirect in command prompt

Sorry learning command prompt and need assistance. Is there a command for: TYPE the contents of all the E**01 files in a folder and redirect the output (>) to create a file in the "expenses" folder ...
0
votes
1answer
21 views

Robocopy Log File Meaning of New File, New Dir

I've been learning and using robocopy a lot for the last few weeks. One thing I have not been able to find is good documentation on the terms used in the default log file. There is no header row in ...
0
votes
1answer
26 views

copy files from C:\ to another location with four characters or less

I need to copy the files with filenames that have four characters or less and .TMP extension into a folder. Can this be done with one command if they are in one location?
1
vote
0answers
34 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. ...
3
votes
2answers
80 views

Command Line : Concatenate multiple files by date

I have got a plenty of .txt files in a directory. The directory also contains .png and some .pdf files. I have successfully concatenated .txt files using this command : @ECHO Off SETLOCAL for /r %%f ...
-1
votes
0answers
14 views

How to launch RubyMine upon Ubuntu startup?

I'm new to linux, and I was trying to find the right command to open RubyMine. After some research, I came across a path to a file that would start the program from the terminal. I use it below. I ...
-1
votes
0answers
28 views

What does the 5xDVD5.cmd do for installation?

MD "DVD1" MD "DVD2" MD "DVD3" MD "DVD4" MD "DVD5" move "Data-1.bin" "DVD1" move "Data-2.bin" "DVD1" move "Data-3.bin" "DVD2" move "Data-4.bin" "DVD2" move "Data-5.bin" "DVD3" move "Data-6.bin" "DVD4" ...
1
vote
0answers
18 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 ...
0
votes
2answers
18 views

How to connect to internet using “rasdial <connection name>” method in cmd

I am able to directly connect to internet using network connection interface shown below but I'm not able to connect to the net using cmd. with the following code. rasdial "TATA PHOTON+" ...
0
votes
2answers
26 views

Windows Batch File to move contents based on file type

I was figuring out a way to manage my downloaded files from chrome.I want that my pdf file should save in ABC directory, audio file should save in XYZ directory etc.I thought a way to do so through ...
1
vote
1answer
28 views

Can robocopy show the console and create a log file?

I'm working with robocopy for the first time and have got most of it figured out and working well except logging. I have experimented a bunch and if I run my job like this: robocopy /xc /xn /xo ...
1
vote
2answers
17 views

How to add the filepath to a specified line of a file using bash script?

I have the following bash code: echo "Enter an input path" read -e input_path OLDTEXT="\put(0,0){\includegraphics{/" NEWTEXT="\put(0,0){\includegraphics{$input_path/" find . ...
0
votes
1answer
33 views

Older History of commands linux

I want to check history of commands on my linux server that dates 1month and 4 days old, but the history is showing up to 1 month only (I was late checking it earlier). I know the ' History ' command ...
-1
votes
2answers
35 views

How to use,run cURL tool with Android Studio on windows environment? [duplicate]

What is better way to use cURL tool with Android Studio 1.1.x on Windows? because there is no proper information in official site for client tools on windows environment. I tried to download from ...
0
votes
0answers
40 views

Windows Batch file nested IF statement running both IF and THEN

Not sure why this nested IF statement won't work right. I can't find any issues with it. The Last code block actually works properly, not sure why the first one doesn't. The first script is running ...
0
votes
1answer
18 views

How to list all installed and uninstalled optional Windows components on command line?

Optional components in Windows are, for example, IIS, telnet server/client, SNMP, etc. In Windows 7 GUI they are installed through Control Panel -> Programs and Features -> Turn Windows features on or ...
1
vote
1answer
10 views

How to untar an archive without the root folder, but keeping the full hierarchy inside it?

If I’ve got a .tar archive, and when I extract it, it gives me a single folder foo containing some more stuff, like this: foo/ something.txt another.txt bar/ something-else.txt Is there a ...
0
votes
0answers
28 views

Powershell not recognizing Commands

I'm a beginner in PowerShell, I've been working with it for a little while, but suddenly it started not recognizing some commands, for example , typing the Command Set-Location, generates this error : ...