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

How to disable or enable policy setting using CMD or using registry editor?

I want to known how to enable or disable group policy setting via cmd or registry editor.
0
votes
0answers
4 views

Folders not visible to Powershell in ConEmu on Windows 7

I've started experiencing a weird problem recently where some folders are not visible to Powershell within ConEmu on my Windows 7 machine. I have not been able to determine what it is about those ...
0
votes
0answers
4 views

Cannot launch app minimized with /minimized

For whatever reason, AMD Gaming Evolved (Raptr) is dying randomly (ticket has been submitted). I made a task schedule that automatically launches Raptr every hour with this action: "C:\Program Files ...
0
votes
1answer
13 views

Run several processes in cmd window with ConEmu

I'm using ConEmu with Windows 8.1. I need to write a BAT-file, which will run ConEmu and open several cmd-shell tabs, running a process in each of it. Right now my file looks like this: start ...
0
votes
0answers
16 views

Display Toolbar in Command prompt Windows XP

in windows 98 there was an option in properties to display a toolbar for command prompt.When using windows XP i cant find this option. I need that toolbar because it allowed me to copy text from ...
0
votes
1answer
29 views

Open a movie with VLC from command line via SSH

I have a linux machine connected to the tv and being the lazy person I am, I would like to sit on my laptop, SSH into the linux machine and play a movie in full screen. I've tried running the command: ...
0
votes
1answer
36 views

How to know if someone else is logged to a remote shared PC?

In the company I work for, there are some shared PCs where people can log to remotely. It's boring to ask first who is logged in before login to it yourself, just not to disrupt others work. With ...
0
votes
1answer
17 views

Looping through wildcard folders and executing multiple commands in Bash

I have a set of commands to change the contents of files called MenuSettings which work fine when directed to a folder. cd /Applications/snowflake/table-updater/Testing/Applications/Salford_100 sed ...
0
votes
2answers
26 views

Copying and renaming of .xlsm files using batch

Its glad to be here and i am really excited n new to batch scripting. I have been using a batch containing below for copying an excel from one folder to another { @echo off cp -r ...
0
votes
0answers
13 views

When drive mapped on a windows machine from remotely by using “net use” command, shows unavailable status

I am trying to map a share directory on remote windows machine by executing "net use" command with admin credentials, however the directory is getting mapped and showing status as unavailable. ...
0
votes
0answers
31 views

Keyboard/mouse layout changed and weird commands in logs. Was I hacked? (OSX)

Edit: Looks like my colleagues had some fun. False alarm. My work computer is running OSX Yosemite 10.10.1. I noticed my keyboard layout was changed to Dvorak and my mouse direction reversed when ...
0
votes
2answers
25 views

How to pass parameter in linux command at the end of the line

I would like to pass a parameter at the end of the line while I am giving a command in terminal. So I would like something like the example below find /path/to/directory -type f -exec grep -irl ...
0
votes
2answers
48 views

Running a command as an administrator with Runas.exe [duplicate]

I've read several threads about using the runas.exe command to start an elevated process. However, when I type try to use the command runas.exe /user:BruceWayne\Administrator cmd.exe, the Command ...
0
votes
0answers
13 views

Command prompt “emulator” not searching PATH

I've made a cmd file to run at the school computers for things like Remote Desktop, instead of creating a new file just to type mstsc. The school computers do not allow you to open the command prompt, ...
0
votes
3answers
32 views

Batch file to run programs as admin - error 740

I am working on a small batch script that elevates basic windows programs to run as administrator. All of the functions work fine but I have ran into a problem when trying to run "regedit.exe". When ...
1
vote
1answer
26 views

Execute an SSH command with the Apache2 www-data user

I'm working on a virtual machine project where I use two servers, let's call them server A and server B, both with Ubuntu 14.04 LTS installed. Server A runs web server Apache2 with a website where ...
0
votes
0answers
21 views

From command line how do I change password [duplicate]

HP 110 desktop with win 8.1 where owner of standalone workstation has forgotten password. I have hacked into cmd prompt but don't know how to change password of account that has administrator ...
0
votes
1answer
22 views

How to overwrite an echo/printf line with another one? (Making it start at the center of the screen)

I want to write a script which outputs sentences I choose. I want them to appear in the center of the screen: output the first one, and then make the second one appear over the first. Here's my code: ...
3
votes
1answer
19 views

How to prevent opening same program on terminal server by the “same user” with command prompt?

I have several users that use Remote Desktop App (Server 2008) and when they open the .BAT file I have created, it opens up two programs...however, I need to prevent the same program (in this case ...
2
votes
1answer
41 views

Batch Script to Bulk Rename Files - Strip off Parenthesis and all Characters between

I wish to rename a group of files in a particular folder in such a way that everything between and including the parenthesis is erased. For example a file with the name of: "78 Tax Tips for ...
0
votes
0answers
13 views

Composer not working on command prompt Windows 7

I installed composer via composer windows installer and it installed to the path C:\ProgramData\ComposerSetup. The composer.phar file is in the bin folder in the directory. ...
0
votes
0answers
22 views

Autorun a bat file after a predefined inactive period

Is there a way to auto run the following command after a predefined inactive time? manage-bde -lock G: This DOS command activates the bit lock on windows on a removable G drive. I want preferably ...
0
votes
1answer
16 views

Alias command from terminal that opens a new terminal on a specific folder

I have this command already working in my .bash_profile: alias mysite='cd /Applications/sites/mysite;pwd; php artisan serve --port=9000 | open http://localhost:9000 | open -a Finder ./' So it: ...
0
votes
0answers
15 views

change letter directory for boot drive CMD

I some how messed up my boot directory. Can some one please explain to me in lay terms how to reset the root directory for my boot drive using CMD in boot up of windows 10. I have been finding info on ...
0
votes
0answers
18 views

How to extract PPmD archive data in Ubuntu?

So I have a file called ppmdData with no extension, then when I use the file command on it, it says it is a PPMD archive data. When I run 7z x secret, I get an unsupported method error. Can anyone ...
0
votes
1answer
20 views

How to run a js file from windows terminal?

In order to have the measurements displayed of a photocell linked to an Arduino on the terminal, Iam trying to execute a node.js server. It's from a tutorial made by Adil Moujahid I tried to follow ...
1
vote
4answers
60 views

Linux - “grep” from certain lines to the end of file

I have a text file similar to this: line 1 line 2A line 3 line 4A line 5 I want to "grep" from "line 2A" to the end of file, something like this cat file.txt|some_grep "line 2A" Also, I want to ...
0
votes
1answer
28 views

How do I execute commands on files in multiple folders?

I'm trying to figure out a way to execute commands on multiple files that exist in multiple folders. From what I understand, a for loop is the best way to do this in CMD (I'm using Windows.) I'm ...
0
votes
0answers
27 views

Why won't `date` accept it's own default output?

On my system right now by default date outputs: $ date Fri 29 Jan 22:04:26 GMT 2016 However if I try to feed dates of this format back into date it results in "invalid date": $ date -d "$(date)" ...
0
votes
1answer
30 views

How do I find keyloggers and other hidden biles/processes from the command line in windows 8.1? [closed]

I have noticed a great number of system "Glitches" as of late. Recently while poking around explorer, i believe in my system32 dir, i noticed that every time I entered a subdirectory and existing to ...
1
vote
1answer
17 views

Run Atom using a bat file after changing directory

I have writen in my bat file cmd /k cd /d"C:\Users\amanz\Desktop\Introduction - Computing\Java files" call atomer.bat right now, it just seems to change the directory and stops right there. It ...
0
votes
1answer
21 views

piping command output to text files not working

Trying to use CMD to print the output of an executable to a file. The name of the program is adb (in my path). When called without arguments it prints the help text. I can't seem to capture it. adb ...
2
votes
1answer
31 views

Batch command delete from list of files from multiple computers

Currently I use a poor piece of programming where I delete multiple files on multiple PC's. What I would like to do is have a file with the names of the PC's (PC.txt) and a file (filedel.txt) with ...
0
votes
2answers
15 views

Tftp put linux one line

I have been following the answer provided in this link : Put file with tftp client in Linux However, I've tried all of the commands listed and always get this response. usage: tftp host-name [port] ...
0
votes
1answer
41 views

How can I tell bash top stop echoing text whenever I press any key?

I'm writing a custom startup command for gnome-terminal, and my intention is to display a welcome message every time I launch it. The message displays correctly, I coded it in order to make the ...
1
vote
2answers
30 views

Equivalent of `$@` for windows shell

I use batch files to create wrappers around some commands which need extra argument to work. For example, I have a file pip.cmd which adds a custom proxy argument to all pip calls: pip.exe ...
0
votes
0answers
23 views

OSX terminal : log on on a website

I would like to login/ out on a Web site using the terminal, I currently using a appleScript I wrote but was wondering can you use terminal command line instead (not running my script from terminal) ...
0
votes
1answer
14 views

set chromium tab option to enable “mute” by command line

Chromium has cool options. For example, I enjoy the "mute" tab feature. This can be enabled graphically by go to chrome://flags and then enable "Enable tab audio muting UI control". However, how can ...
2
votes
2answers
24 views

How to use /k to keep a command prompt shortcut from closing?

I am trying to make a shortcut that will run the following command with the following switches. The window closes before the command can run long enough. I want to know where to put the /k in the ...
0
votes
2answers
252 views

Annoying popup cmd.exe “FINDSTR cannot find the path specified”

I recently installed a Driver Booster software to detect and install out of date drivers. since installing, I have been getting a popup for a split second every hour or so. as it appears and ...
0
votes
1answer
19 views

Start command-line application as service

I have a exe program and I would like to create a new service in a WinNT system. This program is a tiny command-line ftpserver. I tried this command: sc create testFtp binPath="c:\ftpdmin.exe" ...
0
votes
0answers
17 views

Sed command to replace NUL character in file

I am using the command sed -i 's/\o000//g' filename or sed -i 's/\x0//g' filename to remove the NUL character but the command works fine in DEV environment but doesnt work in UAT. OS and sed version ...
0
votes
0answers
8 views

Deleting ftp folder in remote system using putty command aromatically when system boots?

I need to delete a folder in a remote system using putty, I have rm command to remove particular folder, but this should run everytime when the system starts how to do it?
1
vote
0answers
20 views

Creating a CMD Context menu to copy filepath

So I created a context menu in the registry HKEY_CLASSES_ROOT > * > shell > copy > commmand > cmd /c dir "%1" /b /a:-d /o:n | clip What this does is copies the file name when I right click on a ...
0
votes
1answer
18 views

Setting environment variables in cmd has no effect

I'm trying to set up paths to VS tools to run them in command line, as per https://msdn.microsoft.com/en-us/library/x4d2c09s.aspx I run vcvarsall x64 from elevated command prompt and check the ...
0
votes
1answer
31 views

Spaces between parameters in a Powershell command

I want to know why when I let spaces between paramters in a powershell command I have errors : With space : (don't work) wmic desktopmonitor get screenwidth, screenheight Expression GET non valide. ...
1
vote
2answers
26 views

Is it possible to set a Windows command line variable by reading a text file?

I have a one line text file that will be created daily and was wondering if one could use SET and TYPE (unless someone has a easier Windows command line utility) to define a Windows command line ...
1
vote
1answer
36 views

Importing .PEM certificates on Windows 7 on the command line

I need to import a PEM certificate on a massive number of freshly installed Windows 7 Enterprise machines. Normally, I would do it through MMC → Certificates (Local Computer) snap-in → Trusted Root ...
0
votes
0answers
12 views

Automatic or scriptable creation of new users

I need to create a huge amount of new accounts in Tuleap that I cannot add to my LDAP (external users from my enterprise). Is there a feature in Tuleap in order to script the creation of an account ? ...
0
votes
1answer
24 views

How to use ffmpeg to add jpeg image before and after the video

I am using the latest version 2.8.5 ffmpeg on Windows and I want to add 5s intro jpeg frame at the beginning of the video starts, and a 5s jpeg end frame at the end of the video. I found a lot of ...