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)

1
vote
0answers
716 views

How to provide multiple input to ffmpeg?

I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4 I create ...
1
vote
0answers
196 views

Command line utility to dial a phone (bluetooth mobile) on Windows

Is there a command line utility that would allow me to dial a number on mobile (send a ATD +xxxxx;) phone - preferably connected using bluetooth? I can do this very easily on Linux, but cannot find a ...
1
vote
0answers
237 views

Extract email addresses of meeting attendees using Outlook command line

Is there a way to extract email addresses of attendees of a meeting using Outlook command line?
1
vote
0answers
246 views

Compress files on Windows Server 2003

Duplicate Questions How to compress files with batch file? Using compact.exe didn't do what I wanted. I'd like to have an archive file created so that the files can be retrieved. This is ...
1
vote
0answers
178 views

Turn off device when I connect another device?

I want to automate the disabling of my touchpad, my display and my wifi card; when I connect my usb mouse, my 24inch lcd and my ethernet cable respectively. Devbox does half the job by giving me a ...
0
votes
0answers
9 views

Disk Usage Equivalent of Bandwidth Stats

Looking for in effect the equivalent of vnstat -w but for disk usage: rx | tx | total | avg. rate ...
0
votes
0answers
10 views

Pipe remote jpg webcam image to ffmpeg as video

I have a cheap ip webcam. All it provides is a single http url to a static jpg file. Such as http:///image.jpg. Repeatedly requesting the same url will provide subsequent frames from the ip camera. ...
0
votes
0answers
25 views

Merge two pdf files side by side in command line

I have got two pdf files with same number of pages and want compare each page with the corresponding page in the other file. For this I would like to merge say page 1 of File1.pdf with page 1 of ...
0
votes
0answers
29 views

Change OS X Internet Sharing Wi-Fi hotspot password from terminal

I have Mac and use it as a hotspot. Is there any way I can change the hotspot's password from terminal?
0
votes
0answers
30 views

Run Notepad++ macros on command line

I have a lot of txt files in a folder and what I want to do is creating a Python script wich reads all the files contained in this folder and applies to each of them a n++ macro. To do this I need to ...
0
votes
0answers
13 views

Use Rsync to create folder based on filename

I am currently using an rsync command to move files into a remote server based on 2 things, the file extension and how old it is: rsync -avx --timeout=30 --ignore-existing --include '*.txt' --exclude ...
0
votes
0answers
24 views

Add websites to JRE8 Java Web Start exclusions list unattendedly (JRE8)

In JRE8, applets on some sites don't start until exception added for these sites: My question is, how to change these setting during or after silent install to allow browser applets from sites we ...
0
votes
0answers
10 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 ...
0
votes
0answers
20 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
51 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
14 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 ...
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 ...
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 ...
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 ...
0
votes
0answers
10 views

Listing specific software on group of remote machine

psinfo -s \10.101.4.204 > out.txt above command displays all software installed on 10.101.4.204 I need to find only specific software installed on remote machine
0
votes
0answers
24 views

How to run specified terminal command from context menu on right clicked folder?

I'm quite happy I found out about Finder > right-click > "New Terminal at Folder". To make it perfect, I'm looking for a way to run a specified command right after. Automator doesn't seem to have such ...
0
votes
0answers
18 views

In Windows, how to search in a specific Wi-Fi channel?

In Linux, it is possible to "keep searching" in a specific channel (using airodump-ng): airodump-ng -c 5 mon0 if I keep searching in a channel for more than 10 seconds, I notice that some new APs, ...
0
votes
0answers
25 views

'.' is not recognized as an internal or external command

def evaluate(str, par): return (os.system("./LKH %s" %par) - swap_2opt_solve_str(str)[1])**2 I have an executable lkh file in the directory. However when my program runs this function, it gives the ...
0
votes
0answers
14 views

How to make Chrome when launched by other programs use my command lines i defined?

For security concerns, i've set chrome to launch with this: --cipher-suite-blacklist=0x0005,0x0004,0xc011,0xc007 --ssl-version-min=tls1.2 I use Windows 7, and when i click it from my TaskBar it ...
0
votes
0answers
6 views

download complete when run from command line but not complete run from launchd

Curious thing. I have a Python script that I've set up through launchd on my Mac to run every 5 minutes. All it does is download a file from a website. My issue/question is that when it's run that ...
0
votes
0answers
47 views

Ask Firefox to export current Bookmarks to Json in CMD line

I can do this manually in Firefox when the browser is open (holding Alt key to show menu) and navigating to Bookmarks > Show All Bookmarks > Import And Backup > Backup This will generate a ...
0
votes
0answers
14 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
0answers
13 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?
0
votes
0answers
55 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
0answers
46 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 : ...
0
votes
0answers
101 views

Pause OneDrive sync using cmd

I would like to know how to pause onedrive from syncing using a command in the cmd. I am doing this because I have my .minecraft folder shared in onedrive and when I am playing minecraft, it is really ...
0
votes
0answers
19 views

Pipeline from <filename> to <filename> in Windows CMD?

Is there a way to do this without a temporary file? I've tried with tee but that failed. Test case: >echo "foo bar" > ex2.go >type ex2.go "foo bar" >type ex2.go > ex2.go >type ...
0
votes
0answers
25 views

Swftools “Swfstrings” how to get the position of the string to extract

I'm currently trying to find the value of a "string" which is in a "actionscript" of a "swf" file, using "Swftools" with the "swfstrings" command. But in order to extract the info, i need to know the ...
0
votes
0answers
20 views

Printing colorful syntax highlighting to paper

I want to print out some code on paper including syntax highlighting. After some research, I found out, that I could do this in the command line with pygments and enscript, but don't know how to ...
0
votes
0answers
32 views

Is it possible to extract ActionScript from swf files?

I'm desperately searching for a command line tool that allows you to extract ActionScript from an SWF file on linux. I need only the ActionScript part, not the assets.
0
votes
0answers
19 views

build cmake on windows command prompt

I need to build cmake automatically, without windows-wizards. I looked at http://www.cmake.org/install/ but it seems that I must have cmake on the machine before... Any suggestions?
0
votes
0answers
11 views

multiply ttys instances in console

I've run who command in terminal and see: myName console today_date myName ttys000 today_date myName ttys001 today_date myName ttys002 today_date why are there multiple ttys instances?
0
votes
0answers
57 views

How to delete all folder shortcuts and file shortcuts using windows command line

I am new to stack flow without enough reputation so could not upload an image for my question. Here is the description: I have a folder that contains lots of files and some folder/file shortcuts. I ...
0
votes
0answers
22 views

Linux - every command fails to execute

What would cause a Linux server, in this case a Citrix XenServer host, to return "syntax error near unexpected token" for almost every command? So far I have tried a few key OS commands but to no ...
0
votes
0answers
32 views

iterm2 resize pane/window with command

So iterm2 on the Mac has some proprietary control codes that let you change the profile by sending them to the terminal on the command line. I'm wondering if there's a similar way to set the window ...
0
votes
0answers
36 views

Run appcmd.exe list wps as a RemoteApp

We have just switched to using RDWeb to host remote applications. I am trying to make a batch script which will open a command prompt and run a program, displaying the output to the user. It would ...
0
votes
0answers
18 views

Deleting file artwork using the command line

How can I remove the artwork (added using iTunes) for a file using the command line? I found this here but it deletes a little too much, and also copies the file. ffmpeg -i in.mov -map_metadata -1 ...
0
votes
0answers
54 views

Auto close Command prompt

I'm trying to close the the command prompt in vbscript. Code Set oShell = CreateObject("WScript.Shell") Set oWmg = GetObject("winmgmts:") strWndprs = "select * from Win32_Process where ...
0
votes
0answers
15 views

PDF extraction renders strips of images

I have permission to use images from a catalog in my online ads (I resell their products) but they won't give me the image files (I'm a small reseller) Their catalog is available as PDFs. I've ...
0
votes
0answers
28 views

METADATA_BLOCK_PICTURE header for vorbis ogg. How to batch (windows cmd.exe) or rebol create it?

I have searched the web with no success :( Is there anybody out there able to help with a working example on how to create the header for the METADATA_BLOCK_PICTURE for vorbis ogg ? (batch (windows ...
0
votes
0answers
47 views

How to start chrome in profile directory or “switch person”

I'm looking to start the Chrome browser in the "switch person" screen every time. That is: Every time I click on the desktop icon, I want the "Switch Person" list to come up so I must choose the user ...
0
votes
0answers
8 views

set nickname for particular network using `xchat -e -c`

If I'm only connected to one network, issuing xchat -e -c 'amahdal|gone' changes the nickname on that network. But if I'm connected to more than one network, the above command will only affect ...
0
votes
0answers
109 views

Get vector graphics (svg, pdf) page size (width, height) in different units via command line?

Basically, I would like to find out the image size (and possibly, any special boxes) in different units (points, pixels, centimeters) from the command line. As an example here, I have produced an SVG ...
0
votes
0answers
31 views

Unable to type in Putty after a few minutes of inactivity?

For some reason I am unable to type in Putty when connecting to a remote CentOS server, after a few minutes of inactivity. It appears the prompt is disabled and can't be clicked or typed on. I ...