cmd.exe, or the Command Prompt, is the default command-line interpreter for many Microsoft-created operating systems.

learn more… | top users | synonyms (1)

-1
votes
0answers
10 views

Command Prompt Issue without user title searching

may be it is a stupid question but i am new at cs.I've tried some practice about cmd but it is always looking for under the title of "C:\Users\a>" how can i for example search D driver,program files ...
0
votes
2answers
66 views

Windows 10 default dpi settings make cmd blurry

I have recently upgraded to Windows 10 and I have noticed that my cmd console is very big and blurry. I have tried reducing text-size, but if I reduce those the desktop items become too small. The ...
-1
votes
0answers
25 views

Does Windows 10 have a new console and if so how does it compare to Windows 7?

In an October 2014 blog post Microsoft announced that Windows 10 would have a new and improved console. Now that Windows 10 has been released and is no longer in beta I'm wondering how the new ...
1
vote
3answers
470 views

What does hyphen mean in Windows batch file?

In particular, I have problems understanding the hyphens in the following lines, which are from wikibooks if not -%1-==-- echo Argument one provided if -%1-==-- echo Argument one not provided & ...
0
votes
1answer
24 views

How to create batch script to keep rerunning command

I just downloaded Win 10 and I'm having activation issues. I hear if I keep rerunning this - "slmgr.vbs /ato" command it will eventually activate. Can someone give me a quick little script to have ...
68
votes
9answers
4k views

How to open Windows CMD so that it starts in the current folder? [duplicate]

When I'm working in a folder in Windows Explorer, sometimes I have a need to run some CMD command in this folder. How do I open the command line from a current folder, so the console opens in the ...
0
votes
0answers
23 views

Set Script variables as remote directory paths

I have a script where I copy all the files in a directory on a remote computer and copy them to the local machine. The commands below is where I receive errors. Is there anyway to store a remote ...
0
votes
1answer
30 views

How to simply xcopy a folder into another keeping the structure?

Suppose I have the following structure and the current working directory is root: root - sub1 file1.xml file2.xml - sub2 file3.css - _target {is an ...
0
votes
0answers
26 views

Make ConsoleZ open instead of terminal (cmd) in Windows 8.1

The terminal window in windows is poor, and I'd like to use ConsoleZ instead. Is there any way to have ConsoleZ run instead of cmd, when a program tries to open a command window?
1
vote
1answer
31 views

Disabling the “Windows cannot find '[foo].exe'” popups

When I use the start command in a batch script to launch a program, I expect that program to be launched asynchronously; this happens exactly as I'd expect it would if the program that I'm launching ...
2
votes
1answer
16 views

Windows command to list the windows application event log

Can anyone please tell me the windows command to list the windows application event log on a server. I have the powershell command, but for the servers did not install powershell I need the windows ...
0
votes
2answers
42 views

'sample.exe' not recognised as internal or external command, operable program or batch file

Under Environment Variables, I set the path to sample.exe. I appended the System variable PATH with, C:\Program Files(x86)\Sample The sample.exe is in the Sample folder. Still, I get the above ...
1
vote
0answers
24 views

How to access a different drive in cmd with 'no access'

I have an Alienware R4 and I have lost my keyboard and mouse drivers. The only way I could get them back is to launch System Restore. However, Windows Update comes along and restarts my computer and I ...
0
votes
2answers
32 views

How can I break a batch script that is executing a ping without terminating the whole script?

I have a batch script that continuously pings an address and I want a way to cancel the pinging but not terminate the whole script (alternative to ctrl^C).
1
vote
1answer
43 views

How do I count all occurrences of a particular string in a file using a batch file?

setlocal EnableDelayedExpansion for /f %%C in ('Find /C "pdf" ^< %CD%\sample.txt') do set Count=%%C echo Found = !Count! time/s >> xerox.log echo Found = %%C time/s pause That's ...
0
votes
0answers
32 views

How do I set an icon for a cmd file?

I am currently configuring to launch automatically when I open specific files (like php files). I've managed to do that by using a .cmd file packed with Atom. However, it does not have an icon and ...
0
votes
0answers
12 views

How can I find empty folders? [duplicate]

How can I find folders in a certain directory (X:/Audio, X:/Video, X:/Photos, etc.)? I don't want to delete them. I want to find the empty folders. I would like to do this in cmd.exe, if at all ...
2
votes
2answers
48 views

Copy password to clipboard using batch scripting

I want to copy password to clipboard using bat file. I have tried some suggestions like echo|set /p=Ps5dP%q$@mxnx|clip But the problem is, it does not copy % sign to clipboard. Above script works ...
0
votes
0answers
33 views

How to attach an intro mp4 to multiple mp4 files in a folder?

I have an intro video (mp4) that I'd like to attach to multiple mp4 videos in a folder. I use windows and ffmpeg. How would I code this in the cmd? If I have to use another program that's fine, I ...
1
vote
3answers
69 views

Get Random Folder name and write it as %FolderName% [closed]

I have: "C:\DIR\FOLDER-NAME_Random-String" and need a script that will check this random name of folder and write it as %FolderName%. I have many computers with C:\DIR\Folder-Name_Random-String ...
1
vote
2answers
45 views

Colored text in command prompt/PowerShell is blurry

A troll must've mucked about with my computer during the night. I did not see this issue yesterday. It seems like only colored text is affected by this blurry madness. What is going on and how do I ...
0
votes
7answers
134 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
1answer
52 views

How do I find the MAC Address of every networking of my notebook in win 8?

I tried getmac command in command prompt. What are those '3' devices of which the MAC Address is represented? I Also Tried this Command: ipconfig /all Now, What are these "5" Mac ...
2
votes
2answers
57 views

CMD ping requests not allowing more than 1000 bytes to be sent

I can successfully ping, say, google.com via cmd using: ping {IP ADDRESS} -T -L 1000 But if I use a packet size greater than "1001" I get a request timed out error. I know that the max amount of ...
2
votes
1answer
30 views

cmd in explorer file menu is grayed out

Before reading, this is not about adding cmd to 'right click menu'. I have searched a lot! My question is not answered. I'm using window 8.1 and I was able to run cmd from explorer file menu, but I ...
3
votes
2answers
32 views

Send file in color to printer

I know how to send a file to a printer like this: print /d:\\%COMPUTERNAME%\printer file.bmp However this does not print in color. Is there any way to print in color using the command line (or a ...
0
votes
1answer
105 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 ...
0
votes
1answer
26 views

How to find out if it's the first boot on the current day

I have a batch file in my auto start which should behave a bit different on the first boot. How can I find out if it's the first boot on the current day via Windows cmd? May be there's some way ...
0
votes
0answers
29 views

cmd - Choose which executable to run

Building off this question, is there a way to choose which convert to run while you're executing in the command prompt, or do you just have to reorder Path?
1
vote
1answer
42 views

Batch file merge two text files

I have two text files and I need to merge them like this: text file 1 [][][] [][][] text file 2 ****** ****** ****** output ****** [][][] ****** [][][] ****** I have already looked ...
-3
votes
1answer
30 views

What is command prompt's console name? [closed]

Is there a "console" in command prompt? There are consoles in browsers, but what about command prompt? I tried console.log, but it didn't understand what "console" meant. I have Windows 7 ...
0
votes
1answer
55 views

How to install Cryptcat

How do you get Cryptcat running on Windows? The sourceforge - http://sourceforge.net/projects/cryptcat/files/ - link only has .dsp files and other assortments of objects of which what I am supposed ...
0
votes
1answer
30 views

Starting mongoDB without a visible CMD [duplicate]

I have a batch file that looks like this: del db.log start /b mongod --dbpath %~dp0 --logpath db.log It should delete the existing log file, and then start mongodb without creating a new cmd, ...
9
votes
3answers
493 views

How to use “<<” in batch file or command prompt?

I know what >> is used for, it write all messages into a file instead of screen. And I guess << do reverse, I try it and receive a message: << was unexpected at this time. Please ...
0
votes
2answers
88 views

Why does the cmd show the Windows version number as being 6.1.7601?

I'm running Windows 7 Home Premium Service Pack 1. The first line printed when I open a cmd window is: Microsoft Windows [Version 6.1.7601] Any ideas why?
0
votes
0answers
38 views

call environment path commands from powershell

I can call any executable included in the environmental variable path from a command prompt by simply calling its name. However when i try to do the same from Power-shell I get an exception the ...
-1
votes
3answers
87 views

cmd-Difference between quit and exit

If you type telnet in cmd, you will have to type quit to get out of there, but if you type wmic, both quit and exit will work. Welcome to Microsoft Telnet Client Escape Character is 'CTRL+]' ...
3
votes
2answers
35 views

Get the first few characters without the extension of the file in DOS

My files are AAAAAAA-01.pdf , BBBBBB-02.pdf, CCCCCCC-03.pdf I was able to generate an excel list of file name in the folder without the extension using this command below: for %%i in (*.pdf) do @echo ...
1
vote
0answers
28 views

How can I flash the screen to indicate a CMD process has completed?

I'm running a process on a remote Windows 8.1 PC through CMD, and have a Remote Desktop window open to monitor it. That window is usually in the background. How can I have CMD display a visual cue ...
0
votes
1answer
78 views

'git' is not recognized as an internal or external command, operable program or batch file

I'm reciveing this error when trying to install something which uses 'git' command. I've already installed git and put the directory into my environment variable - C:\Program Files (x86)\Git\cmd I've ...
1
vote
3answers
53 views

Focus and close application by ID

In Windows if I have the PID for an application and I want to either focus or close the app via the command prompt. What commands do I need to run? e.g. FOCUS 123 or CLOSE 123 Where 123 is the ...
1
vote
2answers
56 views

Windows - Create User Folder with specific NTFS rights using CMD?

Situation: Im currently making a default windows image for our new PCs. These new systems come with an SSD (250GB) + HDD (500GB). My Goal is to have the main user profile still on the SDD but ...
5
votes
5answers
306 views

Filtering specific text from log file

So I have a log file from Twitch chat and I want to make a word cloud, to do this I only want the texts after their name eg. [Jun 01 2015 02:23:58 UTC] swimsphinx: test1 [Jun 01 2015 02:24:15 UTC] ...
-1
votes
1answer
79 views

Windows CLI alternative to robocopy and xcopy

I am looking for windows console-based tools similar to xcopy or robocopy. I have to send file into writable but not readable net share directory (unix privileges 333). Both tools are great however I ...
0
votes
2answers
30 views

ren won't change files with quotations

My client sent me files that I am to upload to her website that contain quotation marks in them. I have downloaded so many rename softwares but none of them can replace the quotations. Then I tried to ...
1
vote
1answer
32 views

How do I use a for loop and output to a different directory

usage: pdftotext [options] <PDF-file> [<text-file>] I'm using pdftotext (xpft, usage above) to covert all pdfs in a directory (and subdirectories) to textfiles. It doesn't matter if ...
0
votes
1answer
37 views

Prompt command starting in the wrong folder [duplicate]

I am currently facing an issue I do not know how to track. I put the start-in option of a prompt command to : C:\Users\XXX\Downloads Then apply and finally when I open the prompt command, it ...
0
votes
1answer
47 views

How to change the date in Windows 7 by using command prompt?

When I try to change the date in Windows 7 using the Command Prompt, I get the error: "The required privilege is not held by the client" How can I solve this problem?
1
vote
1answer
52 views

How to find out the architecture of OS installed and get only the value 32 or 64 in Windows?

How to find out the architecture of OS installed and get only the value 32 or 64 in Windows? With wmic os get osarchitecture I get : OSArchitecture 64-bit I only want 32 or 64 without ...
0
votes
1answer
80 views

How can I disable this in cmd?

Right basically I had a glitching laptop keyboard, even with an external, it still persisted. I uninstalled my default keyboard and enabled 'Prevent Installation of Devices not described by other ...