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
13 views

Re: Get *hostname* of a RDP client computer [on hold]

This question: Get hostname of a RDP client computer, asked how an RDP server can identify a client (i.e., the host that is being used to login remotely), and got this answer: netstat -na | find ...
0
votes
0answers
10 views

`pip: command not found` and other issues

I have several virtualenvs on my computer and I use them extensively. I create new ones and modify them all the time. However, when I tried to create a new one today, I found out that none of the ...
0
votes
0answers
34 views

Is there a good free file viewer for windows? [on hold]

In my MS-DOS days there was a free file viewer called LIST.COM which displayed a text file contents on the screen and allowed you to scroll the file in 2 dimensions. One of its better features was ...
0
votes
0answers
14 views

How to download file from a local server cache windows server

How could I download a files from a local server cache address path I was given? Not sure how to do this on windows server: Link to local sever cache: \\sdgd07mjbvbw2\Users\BuildUser\Downloads Here ...
0
votes
2answers
28 views

Remove empty directories

I found this command on this site for recursively removing empty directories, but was unable to comment to ask this question since I just registered and have zero rep....... for /f "delims=" %d in ...
0
votes
0answers
12 views

Parse and Switch Elements of Folder Names using Powershell

I have been trying to write a powershell script (my first) to parse out only the folders within a directory select only those folders matching a specific naming convention ('SEASON YEAR') switch the ...
0
votes
2answers
23 views

How to use grep or awk to save every line from text file as new file?

I am a scripting beginner. What i am trying to do. I have a text file that looks like this (example): hello hi there apple I am trying to make a script that saves every line as a separate new file ...
0
votes
0answers
30 views

Manipulating excel file from command line

I have written a Python script that generates an excel report file with some data. Then this file is automatically sent to a list of recipients. What I'd like to do though is to make the excel report ...
1
vote
0answers
16 views

How do I use the Python commands in PowerShell?

I work in a GIS department and I'm trying to learn Python to automate something boring. I started using "Learn Python the Hard Way", but I can't figure out how to run Python scripts from PowerShell. I ...
0
votes
1answer
29 views

Batch converting files using ffmpeg

Can anyone tell me where I'm going wrong doing this. The idea is to find and convert all files in a directory to m4v's. Regardless of the extension. Then once it has been converted, to generate a ...
0
votes
1answer
32 views

delete items from path environment variable

I have a question regarding editing the path environment variable on my windows 7 Machine. I have been editing my path using SystemPropertiesAdvanced.exe's dialog window, but the changes i make are ...
0
votes
0answers
15 views

ffmpeg - is it possible to add multiple fade in/outs from 1 command line? [duplicate]

I am trying to make a slideshow with fade ins and fade outs for the slides. ideally in 1 commandline but as soon as i add more than 1 fade in/out, the entire video output is just black... this is ...
0
votes
2answers
49 views

How can a process run from a command line without specifying a drive letter before the path?

The Synaptics Touchpad Helper runs at user logon as a scheduled task. The command line configured to run the executable is... "\Program Files\Synaptics\SynTP\SynTPEnh.exe" As you may assume, it is ...
1
vote
1answer
17 views

Custom command not working

In my Ubuntu I tried to create a custom command: I added a bash script named ns3 in /usr/bin #!/bin/bash cd ns3/ns3-allinone-3.19/ns-3.19 I made it executable chmod +x ns3 Still it doesn't ...
0
votes
6answers
93 views

Is it possible to always run cmd from Windows' Run panel as admin?

I'd like to be able to start Command Prompt as admin either as default or as an easy routine. I know about Ctrl+Shift+Enter in the search list or adding a Registry Entry for a new Context Menu, but I ...
1
vote
2answers
25 views

7z command line = 7z extract to

I have a dmg "winzipmacedition40.dmg" I'm trying to extract dmg from windows 7 I want to know how to "extract to" method via command line Result 1 Using Right Click file > 7z > Extract to ...
0
votes
0answers
19 views

Keep receiving BCDEdit “The system cannot find file specified” errors

I'm currently having a huge problem where I cannot play CS:GO due to an issue with enabling/disabling DEP, Kernel Debugging and Kernal Integrity through BCDEdit in Command Prompt. According to THIS ...
0
votes
0answers
22 views

I can't get Windows 8.1 to execute batch files through the interface

(moved from stackoverflow where I mistakenly placed it in the wrong spot) Windows 8 has decided that a .bat file has no association. I can't choose to associate it with cmd.exe from the open file ...
1
vote
2answers
21 views

How to get `make` to recognize alias command

I am installing MOOG, and when I make -f Makefile.maclap I get the error $ make -f Makefile.maclap g77 -w -c -o Abfind.o Abfind.f make: g77: No such file or directory make: *** [Abfind.o] Error 1 ...
0
votes
0answers
8 views

“fortune” command no output when running as daemon

I execute the fortune command from a daemon, but I don't get any output. If I run the bash-file from command-line I get the output without problems. echo "$(fortune)" The daemon is the Telegram-CLI ...
2
votes
1answer
40 views

How to rename an executable from its details

I have loads of .exe files that got renamed to file1.exe, file2.exe, etc. When you look at a file's Details under Properties (in Windows Explorer), it has the original file name under "Product Name". ...
0
votes
2answers
36 views

Shell script to pass multiple arguments with options in command line

I have the script, I need to execute this script like this: ./create_endpoint.sh --controller-ip 10.20.20.1 --controller-name User1. But its executing like this: ./create_endpoint.sh 10.20.20.1 ...
0
votes
1answer
68 views

Trouble deleting registry using CMD

I am trying to delete following registry via CMD but getting "ACCESS DENIED" HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Pastel The above registry cannot be deleted manually as it gives error ...
0
votes
0answers
14 views

How to login to windows programatically automatic after a certain time [on hold]

I want to make a program so that after manually login to windows I will start a download manager then it is preconfigured to run a file.exe after download finish. During download, I want to lock the ...
1
vote
0answers
11 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 ...
-6
votes
0answers
38 views

My LEAD architect, NOT a developer doesn't believe there's NOT a GUI for JASMINE, GRUNT, KARMA and PHANTOM [closed]

I have a lead architect that laughs at me when I tell him POINT BLANK, in the four years I've been using GRUNT/KARMA/JASMINE/PHANTOM and NODE, and in my 30 years of being a developer, I have NEVER ...
0
votes
0answers
15 views

windows command line find file, untar

I want to untar a file I just downloaded in windows 7. I am in the directory, but there are too many files and the name is too long to simply type out. How would I do this in the command line? If this ...
2
votes
1answer
24 views

Command on new line

I have the following command: cd ../../game ^ electron src that I need to run. Which basically means step up two folders from our current directory then into the game folder and call electron on the ...
1
vote
2answers
44 views

How to check version of IE on Windows 7 with PowerShell?

I want to check which version of IE I have on my Windows 7 machine. I would like to do this with the command line, either through Command Prompt or PowerShell. Thank you!
0
votes
1answer
29 views

Issue when launching url from command line in IE8

If I paste the following url directly into the address bar of internet explorer http://maps.google.com/maps?layer=c&cbll=56.18231,10.20435&cbp=12,70 the related google maps streetview is ...
1
vote
0answers
25 views

command to wake up the windows system after sleep command [migrated]

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

Run multiple commands automatically after opening command prompt [duplicate]

So I'm really new to this code thing. And i would like to know, how to automatically run commands when command prompt is open. So, what i usually do to run my application is that i open command ...
1
vote
1answer
19 views

Installing the wkhtmltopdf command line

I'd like to make a pdf out of an webpage. For this purpose, I am trying to install the command line wkhtmltopdf on my Mac. I tried brew install wkhtmltopdf and got Error: No available formula for ...
0
votes
1answer
16 views

When vim-ing a folder, how do I make a new file?

I looked around a bit and couldn't find anything on this, but here's the scenario: I vim a folder, to see what's up. I navigate to another folder via j/k/arrow keys/whatever and hit enter I realize ...
0
votes
0answers
12 views

Proftpd File Permissions Issue

I'm using proftpd on a Ubuntu server and the FTP is working on a directory with 777 permissions. Files are uploaded as ftpuser:ftpgroup which is correct. However, on a directory owned by someone else ...
0
votes
1answer
12 views

Variable as argument to Wine

The variable $INPUT_FILES in Case 1 has the same content (string) that is used in Case 2. Why in Case 1 I have problems with spaces in the name "2015 01 09.1.txt", but in Case 2 not? How can I fix ...
1
vote
2answers
48 views

Checking UAC Elevation of Running Process from Command Prompt

How can I use the command prompt (cmd.exe) to check if a process is running with UAC elevation / elevated privileges? If I were to use the Task Manager (taskmgr.exe), I could check by adding the "UAC ...
0
votes
1answer
32 views

how to concatenate files within each subdirectory using windows command prompt

I'm a newbie, a grad student, and frustrated!! I have tons of directories containing subdirectories and each subdirectory contains a bunch of .irf files (these are a DVR-type file). I am trying to ...
0
votes
0answers
15 views

Making the windows command promt title display the current folder? [duplicate]

Is it possible to have the Windows Commmand Prompt title display something other than C:\Windows\system32\cmd.exe ?
1
vote
3answers
51 views

Running a Python script from the “Run” prompt

I thought this would be easy, but I've been struggling for a while. I have a Python script on my Windows machine called "myscript.py". I have it in a folder that's on my PATH, and I've added the ...
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 ...
0
votes
0answers
22 views

Upload data in .txt file to SQL database through ftp in command line

I have a table in .txt file with header, and an empty table Final_Beta_Table with header only in SQL database. It's a NETEZZA database and there are many other tables in it. How can I upload the .txt ...
0
votes
3answers
43 views

How to append multiple .txt files to one file without header line

I have 100,000 .txt files with format below: bygrp,colnum,beta 100005,1,0.629519434191718 100005,2,-0.500000000026516 100005,3,0.560850895321124 100005,4,0.119624318119292 100005,5,0.257676682753309 ...
0
votes
1answer
77 views

How to install software using CMD on Windows 7? [closed]

Is it possible to install a software using CMD on Windows 7 without using the GUI install wizard. I know about "Chocolatey" but seems it works with listed software only. Would using something like ...
1
vote
1answer
20 views

Windows: Run script on cd

On linux, I've got a number of scripts running upon changing to a directory. Tasks like updating repos, rotating logs, etc, are decided through a small bash script that overrides bash's "cd" and runs ...
6
votes
1answer
126 views

How does one browse a website using Telnet?

When you connect to an open port 80 (HTTP) through Telnet, shouldn't the client display a plaintext version of the site? All I get is a blank screen, and then the client disconnects. I know you can ...
2
votes
0answers
14 views

Start Appium server at system boot (MacOS)

I'm trying to setup Appium server to stat automatically after system startup. Also I'd like it to restart after a crash. Appium was installed as a npm package and it launches and works fine when I ...
1
vote
1answer
14 views

Construct command for bash exec

I have a shell script that runs exec to replace itself with another command. The other command takes some optional arguments. exec mycommand $ARG1 $ARG2 $ARG3 Any of these arguments could be ...
2
votes
2answers
23 views

Trying to pass variables to Send-MailMessage arguments and failing miserably

So I have a problem. I’m trying to write a scripts that pings a list of hostnames in an external .txt file, and send an email alert if one of them goes down. I’m having a few problems with it, but ...
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 ...