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
2answers
70 views

Why cmder does not import the user path variables?

The path variable in the cmder only contains those paths imported form the system path variable. While in normal command shell, the system path and user path will be concatenated. I've found in the ...
7
votes
6answers
59k views

How to run an .exe from linux command prompt

I am new to Linux. I am currently trying to write a command line which should execute a *.exe inside a folder abc. I have tried % cd abc info.exe But the error says no such file or directory. ...
0
votes
1answer
25 views

Enabling Active Directory Module for PowerShell via command line

As a final step in my Win7 MDT task sequence, I would like to move each computer from the staging OU to the regular OU (so GPO's can be pushed). My deployment techs have proven less than reliable on ...
0
votes
3answers
8k views

Continuously copy all file changes from one folder to another on change (Windows)

I'm working on a massive Java web application which is kept under centralized version control, but the source files are used to build and run the actual server, which then copies all the files I work ...
0
votes
3answers
78 views

Recursive command-line md5 generator and verifier

I want to write a batch script that has the ability to generate and verify md5 hashes of an entire directory tree. Is there any program like this for windows? I can find many md5 programs, but they ...
1
vote
0answers
34 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". ...
29
votes
10answers
40k views

How can I get my public IP address from the command line, if I am behind a router?

Is there a way for me to get my public (WAN) IP address on the command line? I am behind a router (LAN network), with a dynamic IP address assigned by my ISP. I have seen solutions using an external ...
18
votes
6answers
42k views

List all members of a group (Mac OS X)

I've tried Googling but not getting anywhere. How can I list all the members of a group called mygroup from the command-line in OS X? $dscl . list /groups will get me all the groups...but how can i ...
0
votes
0answers
8 views

When opening enginesim, a command prompt flashes and goes away

When opening the turbo.class or turbo.java file for enginesim, found here, the command prompt flashes and then exits. Using the commands java -cp . turbo.class, java -cp . turbo.java, java ...
8
votes
4answers
18k views

windows command line: can I tell Service pack number?

Is there is a way to get service pack number from command line? Or the build number from command line (from which I can tell the service pack number (see ...
0
votes
3answers
8k views

Setting environment variables and appending to system-wide %PATH% with a Windows batch file

I'm trying to set three environment variables and append them to the machine path. Right now my code is like this: setx CATALINA_HOME "C:\Program Files (x86)\Apache Software Foundation\Tomcat 7" /m ...
0
votes
0answers
17 views

How can I input password to manage-bde -pw option via windows powershell

I am trying to encrypt Data volume (for example E:) with the following command: manage-bde -protectors -add E: -pw When I execute the above command, it will ask for the password, so I entered it. ...
0
votes
0answers
49 views

Set Windows 7 to “Performance optimized” under Visual Effects with Batch script

I have this .bat script to start a specific game: @echo off if not "%~1"=="p" start /min cmd.exe /c %0 p&exit start "" "GTAVLauncher.exe" timeout /t 60 /nobreak >nul taskkill /f /im ...
8
votes
5answers
7k views

Unix command-Line CSV viewer

Is there a convenient command-line csv viewer, possibly a unix tool or a mod of some tools (e.g. vim or python)? I find it easy to simply edit CSV files by writing it manually (since all you need to ...
3
votes
1answer
145 views

In Windows avoid nano triggering overwrite mode on cmd line

In Windows 8 I have installed nano, because it's my preferred command line text editor. When I use it, it works normally, just as it would on any Linux distribution: C:\>nano file.c However, ...
1
vote
2answers
5k views

Imagemagick convert returns “no decode delegate for this image format”

I am trying to use this command for ImageMagick: convert "c:\users\****\My Documents\test.png" -transparent white test2.png However, I keep on getting two errors that look like this: ...
1
vote
1answer
35 views

How make Cmder newly opened tabs go to the directory of the already opened tab?

What I want is that when I press Ctrl+T to open a new tab in Cmder, the new tab is opened in the same directory that I was in when hit Ctrl+T. With this I will avoid a lot of cd that I'm doing right ...
4
votes
3answers
4k views

Windows 7 Command Prompt problem - cannot find 'cmd'

When I try to open a Command Prompt in Windows 7, the following message comes up: Windows cannot find 'cmd'. Make sure you typed the name correctly, and then try again. How can I overcome this ...
0
votes
1answer
16 views

How to locate linux desktop menu shortcuts from command line?

I would like to run one of the shortcuts from command line (when I connect remotely, I don't need the entire desktop, I just want to use a specific app). I can access this shortcut when I run gnome or ...
0
votes
0answers
32 views

Removing special characters (spaces, newlines, tabs) from a text file

I have a flat file (1252 ANSI-Latin 1 encoding) that I wrote out from querying a third party's SQL database that has within it extraneous characters. To make it easier to reformat, I am writing it ...
22
votes
6answers
9k views

What is the command line way of sending files to the recycle bin?

Is there a command line program that can send files to the recycle bin? This is on XP and Vista.
0
votes
2answers
28 views

Extending the command-line search path without editing the PATH variable

I want to extend my system search path without appending new directories to %PATH%, I am aware of the App Paths registry entry put that entry is only being accessed when using ShellExecuteEx which the ...
0
votes
1answer
24 views

How do I use command line to make an mp3 file an Mp4 file with visualisations? Is it possible to batch convert a folder with MP3's into videos?

I have a folder filled with mp3 files. I would like to render them as mp4 video files with music visualisations - is there a way to do this though command line?
0
votes
0answers
13 views

How can I setup a default windows 8.1 alarm through command line

I want to setup a new alarm for the default windows 8.1 alarm app through command line. something like "start alarm.exe AlarmName -time=SomeUnixtime -freq=once" Or through powershell or whatever ...
1
vote
1answer
52 views

How to silently install the Microsoft Monitoring Agent

I am trying to install an .exe application (Win32 Cabinet Self-Extractor) silently from command line using this PowerShell command: Start-Process -FilePath "C:\Temp\MMASetup-i386.exe" -ArgumentList ...
1
vote
1answer
204 views

Internet Explorer: Set homepage for all users without GPO

I'm looking for a way to set the homepage of Internet Explorer (and possibly other browsers) for all Users through command line/Powershell, or any other method that doesn't use the domain policies ...
30
votes
8answers
74k views

How to make the PC speaker beep from the Windows 7 command prompt?

I'm running some lengthy video encodes using the Handbrake command line interface. After all my encodes are done, I would like to have the PC speaker beep, as I usually turn my large external speakers ...
0
votes
1answer
24 views

Getting GUID from Mountvol in Batch file

This is sort of silly, but today is the first day I'm using batch scripts, so bear with me. I'm using the following code to find a particular drive letter assigned to a volume. set ...
0
votes
2answers
33 views

Log Commands Run Over SSH on Client Side

I am looking for a way to run SSH (OpenSSH in particular, but not necessarily) and log all commands that I run against the remote, to a file locally. Running each command as an independent ssh ...
1
vote
1answer
45 views

How do I edit an xmlTV file using sed (or a similar tool)?

I have an xmlTV file that looks like this: <channel id="10125.dvb.guide" <!-- number="62" type="0x1" flags="0xf" bouquet="4097" region="4a" sid="10125" -->> <display-name>ITV ...
31
votes
8answers
23k views

How can I delete Time Machine files using the commandline

I want to delete some files/directories from my Time Machine Partition using rm, but am unable to do so. I'm pretty sure the problem is related to some sort of access control extended attributes on ...
0
votes
2answers
65 views

%%f in a batch file with Windows 7 Professional 64 bit

I have a line like the following in a several batch files: FOR %%f IN (%*) DO something.exe %%f I've used them for a long time with no problem. I recently had to replace my hard drive and had ...
2
votes
1answer
57 views

Trying to get ADB command in Linux (for copying timestamps) to work with spaces in names

Using Linux Mint 13, I have been trying to ADB copy files and directories to a connected Android over USB. Need to preserve the timestamps. (I am aware that in Unix, only Time Modified is stored). ...
4
votes
2answers
3k views

Wildcard for all subdirectories or all descendent directories in windows commandline

I am missing the wildcard character for directories. From linux I have in mind that one can define a path like this: jslint scripts/**/*.js which includes all js files from all descendent ...
0
votes
1answer
40 views

CMD command to open a file using link

Below is my batch file script @echo off setlocal enableextensions enabledelayedexpansion for /f %%b in (C:\COST\Programlink.txt) do ( %%b pause ) And in the programlink.txt as mentioned in the ...
2
votes
2answers
79 views

Command Prompt Shutdown Command

Setup I am running a Windows 7 PC and a Windows 7 Laptop both connected to a router forming a LAN. So, I want to remotely shutdown the laptop from the PC. I found out I could do this in command ...
0
votes
0answers
14 views

how to keep bash buffer in sync between ansi-term line mode and char mode

when switch into term-line-mode, if bash buffer is not clear first, the original text will be left in the front of edited line, I tried to first kill the line in term-char-mode then paste it in ...
6
votes
4answers
4k views

Linux “top -c” to show full command

What parameter can help me to display the full command using top -c? For example, I have one of the oupput from top -c 5073 mysql 20 0 298m 12m 4668 S 0 0.0 29:27.46 /usr/sbin/mysqld ...
1
vote
2answers
7k views

Command line flag to launch Internet Explorer in full screen mode

Is there a commandline flag for IE-8 to launch it from the commandline directly into full screen mode?
2
votes
1answer
25 views

Navigate to the biggest directory in a directory in windows cmd

I am inside a directory which contains two directories - "games" and "music" and I want to descend into either "games" or "music" depending on which one has a bigger size.
2
votes
2answers
283 views

Is there colorizer utility that can take command output and colorize it accordingly to pre-defined scheme?

I already know that I can colorize output with grep and with a couple of different ways. I want to have something like supercat, but for commands (and not that dead). The application Supercat ...
0
votes
0answers
20 views

Robocopy using souring source and destination pc as shared folders

Scenario: I have 3 pc's on the network. Lets name it A, B and C PC A - used to run robocopy. PC B - has shared folders on the network - source. PC C - has folders onto which files from B are ...
5
votes
3answers
4k views

Skype command line options [closed]

The purpose of this question is to get a list of command line options for Skype, as many as possible to get. I know there are more options than the Skype site lists, as is the case with /secondary and ...
0
votes
1answer
18 views

How to use emacs CLI on a Linux server remotely from Windows

I have emacs-nox installed on a CentOS 6.5 server. I had been using PuTTY from Windows to remote into this server. However, I discovered that in emacs, I cannot hit Ctrl+A (somewhat like other ...
0
votes
1answer
28 views

Windows: recursively search for, and execute, batch file from command line

I have a project with nested folders. I want to be able to recursively look up directories until a "build.bat" file is found, and execute it. How can I do this from the command line? (i.e. not a ...
0
votes
0answers
34 views

Create Bootable USB drive with “Press Any Key To Boot” Message

I'm trying to make a usb bootable trough command line. I can do it but there is a problem. I will boot automatically without any prompt! I need to see "Press Any Key To Boot..." first and decide to ...
-1
votes
1answer
31 views

Window 7 commands not running

Specifically trying attrib, but I believe all commands in System32 don't work. I had an issue with a path variable, which I believe is fixed now, since C:\Windows\System32 is showing at the end of my ...
1
vote
1answer
3k views

Bypass wifi-activation-button in XP start-up on Amilo L1310g

Right then. I have a problem on a Fujitsu Siemens Amilo L1310g. This (old) machine is constructed with a ("feature") physical button that activates the wireless internet. When pressed XP starts ...
-1
votes
0answers
18 views

Sending data through Telnet established connection on windows command line

I have connected to an outside server using telnet on windows. I have a program written in Ruby running on my local machine whose output needs to be passed as a command in the server running. How do I ...
0
votes
1answer
24 views

How to stop DIR command counting “Thumbs.db”

We have a process that executes a DIR on multiple folders to check that the correct documents have been generated by another process. In each of the target directories we use this command: dir /A:-D ...