0
votes
2answers
25 views

stopping/killing a process using command prompt without knowing the PID

I am starting a notepad from command prompt using the command: start notepad I am not aware of the PID of this instance of notepad. In such a case, how can I close the same instance of notepad using ...
3
votes
0answers
64 views

Is there functionality that CMD has that PowerShell doesn't? [on hold]

This is not a question regarding which is better; I am purely interested in use cases where PowerShell cannot perform the same functions that CMD can. The only thing that comes to mind for me is that ...
0
votes
0answers
29 views

Command to output its backend process

I have an application running in windows that has an option to run a command (UI base). I'm pretty sure that the UI base backend is running in a cmd but I dont know what is the exact bin file. The ...
0
votes
0answers
25 views

How can I get ConEmu to open more than 30 tabs?

I have a .bat file which opens 100+ consoles, but I need them in new tabs. Problem is, ConEmu has a max of 30 tabs. I can do this with regular cmd, but its 100+ new windows. I'd prefer them in tabs ...
0
votes
1answer
8 views

Tasklist | sort /+ number reference

Is there a reference which lists the different number codes that be used with the Tasklist | sort /+ command in Windows command line? The only one I know of is Tasklist | sort /+68 Thank you in ...
0
votes
1answer
18 views

set environment variable from batch

When I set a environment variable envir using setx command, It seems to not actually 'set' in environment. setx envir "windows" if 1==1 ( setx envir "unix" ) echo %envir% set The set command ...
0
votes
1answer
30 views

Windows CURL download file- special char in URL

I need to download .xls file with Windows cURL and I have got a problem with URL of that file, because it contains special char "Č". That URL is: http://www.ccs.cz/data/141001_Seznam_ČStxt14196.xls ...
0
votes
2answers
64 views

Command Prompt Alternative that can use Telnet

I like console2 and Powercmd with all their extra features(tabs, font/color), but neither can use telnet, they seem to have their own commands. Is there a way to import the command list from command ...
0
votes
0answers
28 views

How to disable the screensaver password for all users via command line?

I have a pool of ~40 terminals running Windows Embedded POSReady (basically, a modified Windows XP). My problem is that these computers requires a password after exiting the screensaver. The ...
0
votes
0answers
12 views

wmic inside a bat script

I've been searching for a long time for a solution for this, but no success. I have to say I am not very familiar with BAT scripting. Anyway, I am trying to check if a process is running and if so, ...
0
votes
2answers
29 views

How to Make Directories Based on File Names, and Move These Files Inside Them using CMD?

As I said, I've Some *.Xml Files in one folder, I want to move them to sub-dirs based on their names . But, I need two more things :- 1- I've to apply/run the command from a parent directory, not ...
0
votes
2answers
39 views

How to batch create number folders using CMD? [duplicate]

Is there a way to batch create multiple number folders using cmd in Windows 8.1 64-Bit? I need something that'll create multiple number folders without using the following md command: ...
0
votes
2answers
36 views

Execute a Shortcut in Command Prompt by Typing Only the Name

If I have an executable file called "test.exe", in Command Prompt, the following command will invoke it: test However, if I have a shortcut to that same execute elsewhere called "test.lnk", just ...
0
votes
1answer
67 views

Unable to start C:\WINDOWS\system32\cmd.exe when launching Console2

I've just downloaded Console2 as an alternative to the default cmd console that comes with windows, when I double click I get this error : I added the C:\WINDOWS\system32\cmd.exe to the PATH ...
0
votes
2answers
46 views

Open .rar file without extracting?

I want to view the files that are archived in .rar file without extracting with full path. This is to be done through command-line. The .rar file may contain various files, I want to extract only the ...
2
votes
2answers
38 views

Mergine two files with windows command line by line

I have a batch script that runs two sensor collectors in to two separate csv files. I'd like to run a command at the end of the script that merges the two files line by line. ie: File1: 1,2,3 1,2,3 ...
2
votes
1answer
55 views

How to install a dummy printer by command?

i need to install a fake/dummy printer on windows using a command or a batch file. I was able to install a dummy printer using the wizard and selecting a NUL port. The problem is that i need to add ...
1
vote
1answer
23 views

“start /b somecommand” does not work

According to help for "start" utility there is parameter that allows to start application without creating a new window: > start /? Starts a separate window to run a specified program or command. ...
0
votes
0answers
15 views

Launch IE in Touch Mode from Command Line

I'm on Windows 8. How do I launch Internet Explorer in touch mode from the command line? I'm hoping for something like this: iexplore /TouchMode Please note, I want this to be a switch or something ...
0
votes
0answers
32 views

Installing Drivers from CMD in windows repair boot

I have just replaced my motherboard and windows is encountering a problem when booting. My PC will shut down and instantly restart when I hit the "Starting Windows" screen. I have done some ...
0
votes
2answers
74 views

How to enter safe-mode from command-line in Windows 8.1

I would like to enter safe-mode in the next booting but only using command-line. By using GUI, what I typically do is to run msconfig and choose safe-boot option in the menu. Without this GUI ...
0
votes
2answers
40 views

What does mkdir -p create as the parent directory or way to see its effect?

I read from http://www.techonthenet.com/unix/basic/mkdir.php that the mkdir command "creates a single directories or multiple directories." and with option -p "If the parent directories don't exist, ...
1
vote
1answer
38 views

Unable to find source of environment variable

So I did the mistake of removing an earlier version of Vim manually on Windows without going through the "Uninstall Program" dialog. The result left me with the enviroment variables of "vim" and ...
0
votes
0answers
23 views

Windows open command window here doesn't load env. variables

In windows if I right click and select "Open command window here" in a particular folder it works exactly the same way as "Open terminal here" works in Linux. It was working find until I installed a ...
2
votes
1answer
33 views

ConEmu new tab instead of split

Is there a way to disable console splitting in ConEmu? Let's say I'm in ConEmu window. I do some stuff and decide to open another cmd tab. I input cmd inside current ConEmu window, click enter and ...
1
vote
2answers
55 views

HW/SW audit Anyone know how to get Belarc Advisor to run remotely via psexec?

Trying to do a quick hardware and software audit on my network. I have a remote system that I copied belarc advisor over to. I have pstools on my local system. I am using the command line: psexec ...
0
votes
0answers
22 views

How can I use the windows GUI to do the equivalent of linux touch on multiple files?

This is very similar to this question: Windows equivalent of the Linux command 'touch'? The difference is, I'd like to set the date modified to "now" from the GUI. The above question may ...
1
vote
0answers
12 views

Is there a command line tool to run carbonite's “back this up”?

Is there some way to say "Back this up" to Carbonite on the command line on Windows? I know I can do it through explorer and the right click window, but I'm bit of a scripting fiend. I'm only trying ...
0
votes
0answers
16 views

Why am I getting conflicting results when checking Maven version in Windows PowerShell and cmd64 (Environment variables issue)

I'm looking at Maven for the first time, trying to get everything up and running. I've been going through the tutorials here and up until now everything has been going smoothly. I've added all the ...
-2
votes
2answers
43 views

What was the reasoning behind the lack of a right click in the Windows command prompt? [closed]

On *nix and OS X, windowed terminals support ctrl+v/ctrl+shift+v/cmd+v for paste, and right click past/copy. On windows however you need to right click the title bar and go into an edit sub menu. ...
0
votes
1answer
38 views

How to disable User Management for Administrator in Window 7?

I have two admins accounts A and B in Window 7. I want to disable User Management for B admin account. My approach that I took was I hide the User Management options from control Panel for B from ...
0
votes
0answers
17 views

Associate files with batch script [duplicate]

I've got a .bat-file which expects an input file as a command line argument, i.e. script.bat input.key I associated .key-files with script.bat in Windows and I excepted the same behavior like I ...
0
votes
1answer
24 views

Command Line Tool for Adding To Your Windows PATH, Permanently? [duplicate]

Is there a way to permanently modify your PATH from the command line? I find myself often trying to run a command or two on the DOS prompt, and find out it's not on my path. I manually find the ...
0
votes
3answers
38 views

How to list file names on Windows as the Unix find command?

I'm looking for an equivalent command line on Windows to the following Unix command: find test -name '*.txt' -print This command lists every filename which is in the 'test' folder and subfolders, ...
-1
votes
2answers
47 views

Batch scripts disables Internet - getting 'System cannot find the drive specified' though I'm not asking it to

I have a batch script (that I'm running as a .cmd file through the right-click Send To menu) that first disables a user's Internet adapter, then securely unzips a .zip archive. For most people, it's ...
0
votes
2answers
36 views

Win7 Command Line piping

I want to know why in the command line prompt this happens. I have a script fileX.cmd which is one single line of text: @echo dir If I do C:\Users\Dogfood>fileX.cmd | cmd This will show all ...
0
votes
1answer
40 views

Batch File To Convert All Files In Directory To ATF

I am currently developing and Adobe Air mobile application and need to convert a large number of files from .png to .atf. I currently do this by running commands like the one below on every file. ...
1
vote
2answers
49 views

How to Use Batch File - Simple Application to Restart Audio Drivers [duplicate]

I want a batch file to open CMD and run "net stop audiosrv", then "net start audiosrv", then kill CMD. I am having problems with a bunch of things including It's not waiting It is opening a new CMD ...
1
vote
1answer
135 views

What does \??\ mean in \??\C:\Windows\System32\conhost.exe?

I noticed this when trying to find an answer to this question. It seems to be exclusively associated with conhost.exe only appearing in the command-line parameters for conhost.exe Also the parameter ...
1
vote
1answer
31 views

How to list specific dated folders in a root folder to use with wzzip (winzip) command line in my batch script?

What I am looking to do is, using winzip command line (wzzip) inside my batch script, and zip any folders that have 201409 (That is Sept 2014)(for example) in the folder name into one zip file. There ...
0
votes
2answers
60 views

Listing files in directory: weird output

I was trying to list files in some directory, but I am getting weird results. This is command I type in command prompt: dir *t.* This is result: c:\test\1.1.1990.txt c:\test\1.31.1990.txt ...
0
votes
1answer
49 views

copying several text files to one text file in numerical order using cmd

i wanted to copy files "scholar (1).txt" to "scholar (25).txt" to a single .txt file used the following methods: wikihow: Merge Text (.Txt) Files in Command Prompt for %f in (*.txt) do type "%f" ...
0
votes
1answer
25 views

If command, importing .reg not working

I am trying to use a if command to change language. But all I am getting is "Syntax error" I really can not find the real syntax. CMD file @echo off echo "1 =Brazilian Portugese" echo: set ...
1
vote
1answer
16 views

Process port-protocol form PID

If I have process ID and I want to know the port and Protocol of this process is there any command in netstat or other help me?
1
vote
3answers
71 views

Windows command line

I have an exe which produces an output with some parameter, and from that output I want the integer portion to be stored in a file like below: C:\MyExe -param gives an o/p 123abc, so 123 should be ...
0
votes
1answer
43 views

How do I tell robocopy to ignore timestamps?

I have two copies of my Music directory on separate drives. One is a thumb drive that I carry around with me so I can listen to whatever whenever. Initially I copied this directory to the thumbdrive ...
0
votes
1answer
27 views

In Mac how do I signal end of file (EOF) on the shell

IN windows, I press F6 function key to introduce the CTRL + Z character that signals the end of file. c:\> copy con filename copies the command line input to the given filename. At the end, ...
2
votes
1answer
142 views

Windows cmd output redirection to standard input ( >&0 )

From a question on Stackoverflow, i've being testing with redirection from/to stdin stream. And this tests, trying to send data to the stdin stream, just to see what happens, end with an apparently ...
0
votes
1answer
48 views

Can I run a script every time the cmd program is run? [duplicate]

I want to show unicode character on my windows console. For this I changed the cmd's font to lucida console and I'm using chcp 65001 before every session I will open a program which will display ...
6
votes
1answer
96 views

Is there a windows command-line alternative to unix's expect? [closed]

The bash/unix/linux tool expect can be used to automate/script console/tty programs in posix. An example is in http://stackoverflow.com/questions/4780893/ I've read there are bindings for ...