Command Prompt - A component of Microsoft Windows

learn more… | top users | synonyms (1)

-1
votes
0answers
16 views

How to remotely access another computer's files through cmd?

I'm asking about this due to a response you made on another individual's question. I need some help understanding this.
0
votes
0answers
7 views

how come git bash can call java tools (xjc.exe) with unix paths but not cygwin?

From CMD.exe, I can run xjc as follows: xjc "c:/schema.xsd" -p abc -d "temp" From git Bash, I can run xjc as follows: xjc "/c/schema.xsd" -p abc -d "temp" As far as Cygwin goes, I can get it ...
0
votes
0answers
5 views

How to launch Dell Backup and Recovery Manager from CMD?

I want to use "Dell Backup and Recovery Manager", however, given the problem I have on my Dell laptop with Windows 7 installed on it, I can only use CMD commands. How can I launch Dell Backup and ...
0
votes
0answers
20 views

How to copy a volume to external volume with a different filesystem?

I connected an external hard drive to my computer. I want to copy the content of the volume D:\ (NTFS) to the connected hard drive which is labeled by F:\ (FAT32). What is the command to copy from ...
0
votes
1answer
7 views

Incremental additions in cmd

I hope somebody can help. I want a batch file to check for a updated version of something so I have SET VERSION=001 then further on SET /a VERSION+=1 but when you ECHO %VERSION% it show as 2, ...
1
vote
0answers
14 views

Change Default Naming Behavior When Copying Files - Making Revision Versions

In Windows 7, when I copy/paste a file named "project.ext" I want the result to be "project Rev.1.ext". (That part is solved by tweaking the code in this post.) In addition to that, however, I want ...
-1
votes
1answer
28 views

Run shell script (.sh) from wine

I am new to the wine community. I need some help with a project I am trying to do. I have installed Wine over Ubuntu 14.04 and I have installed ffmpeg on my machine (ffmpeg as a linux program). I ...
-1
votes
2answers
29 views

CMD Command - Timer to acess a website

Anyone knows if its possible to add a timer do this command? I want to access a certain website in my default browser minutes after typing. start "" "http://superuser.com/" This worked but it ...
2
votes
1answer
25 views

Adding folders to every subfolder, when white spaces exist

I have a main folder, with a lot of subfolders inside e.g C:\Main Folder\Bob James C:\Main Folder\John Smith And for each of these folders I want to add the folder Family Members I tried using ...
2
votes
4answers
418 views

How can I force a cmd.exe prompt error message to not close?

An .exe which is runs via cmd.exe runs and then quickly disappears before I can read the error message. How can I get the cmd.exe window and error message to not close? Or is there anyway to log that ...
0
votes
2answers
46 views

How to choose if you want to close the command prompt window or not running a .exe or .bat file? [duplicate]

I have a program written in C#, console application. A .exe file is created and when executing the command window opens, writes the output and closes as usual. My problem is that I may need to see the ...
0
votes
1answer
15 views

Disable scrolling when launching an app (Vim) inside Windows console window

In Windows, when I'm using the command prompt and launch Vim, I have a habit of trying to scroll through files using the mouse-wheel (which of course works in gVim but not inside the terminal). Is ...
0
votes
0answers
18 views

Win 7 - default commands upon starting shell [duplicate]

Is there any way to set "default commands" that would be executed whenever a windows shell (cmd) is opened? E.g. I like to execute "prompt $g && cls" before doing anything else. Can I ...
0
votes
0answers
15 views

Find screen lock event details in Windows 7 using command prompt

My requiement is to track the user log in time duration between two successive Windows screen locks (win+ l). Is there any way to get the last system screen lock details in command prompt?
0
votes
1answer
20 views

How to `rm dir/*/foo.txt` in Windows?

I have a directory with several subdirectories inside and several files inside those. I want to delete all files with the name 'foo.txt' in those subdirectories. So basically I want Linux's rm ...
0
votes
0answers
31 views

Add hidden wifi network profile using cmd

I need to add/create hidden SSID profile in windows using command line. I tried netsh command for normal profiles, But how to use it for hidden SSID profiles. I have following information of hidden ...
0
votes
1answer
16 views

Is there an easy way to manage packages/dependencies on windows 7?

I'm not even sure if the title is what I'm asking for... Basically, I'm sick of having multiple copies of various exe's on my system, like ffmpeg, mplayer, exiftool, etc. I was wondering if there's a ...
0
votes
1answer
25 views

Python path is not recognized after adding a new variable under environment variables, picture provided

'python' is not recognized as an internal or external command, operable program or batch file. My Python folder is directly in C:\python34..... Please look at the picture.... ...
0
votes
0answers
25 views

running programs from MSYS with quotes

I'm trying to execute non-MSYS program from within MSYS. But MSYS (bash) doesn't work as expected. I'm running commands and see what procmon has to say about command line passed: >cmd /c ""cmd" /c ...
0
votes
0answers
19 views

copy /a, copy /b - use of this options

On Microsof Windows Server 2008 (R1), 32-Bit, I have some trouble understanding the use of as well as the difference between copy /a and copy /b The Technet Article on copy doesn't help me much: ...
0
votes
3answers
43 views

Batch script If command on a String

What is wrong with the following command lines for my batch script? set test=BE99012345678901 if %test% == "BE99????????????"( echo This number begins with BE99 ) Else ( echo This number doesn't ...
0
votes
1answer
35 views

Windows cmd one-liner that finds the default gateway and pings it

Want to create a one-liner to: Obtain an address via DHCP Retrieve the default gateway Ping the default gateway I am partially there. I do the DHCP renewal and am able to extract the gateway by ...
0
votes
0answers
23 views

Set cmd prompt at start of session? [duplicate]

I wanted to modify my cmd prompt on Windows to more closely resemble the prompt I use in Linux and OS X. With some experimentation, I found that entering the following line of code at the start of a ...
0
votes
1answer
38 views

Find wifi password length with cmd

I have recently been trying to learn all the command prompts network capability's. I was just wondering if any body knows a series of commands or a single command that will allow me to find my wi-fi ...
1
vote
1answer
39 views

How do I delete folders & files without returning errors for non-existent/missing folders

What is an appropriate Windows command to delete a directory and its contents, whether or not they exist? In other words, if the folder exists, delete it and all its contents, and if it doesn't exist, ...
1
vote
1answer
50 views

Autoit How do I execute these dos commands through it?

This is about sc.exe I want to run my program as service in windows. I can do it using command prompt:- My program is placed in system32 folder, so first I go to system32 folder and then I use these ...
0
votes
4answers
101 views

How to view remotely mapped drive in the Windows command line

I'm using Expandrive 3 to map a remote drive to the Z:\ drive on my computer. I would like to view it using the command line from Windows 7, but trying cd Z:\ doesn't do anything. No error message, ...
3
votes
1answer
26 views

ping -s values on Windows NT 6

Windows NT 6 (Server 2008 R1 32-Bit) offers -s Count : Specifies that the Internet Timestamp option in the IP header is used to record the time of arrival for the Echo Request message and ...
0
votes
0answers
18 views

How do I add more words to an existing Aspell dictionary?

I have installed Aspell dictionary to spell check my document. But in the document there are some words which are spelled incorrectly but I do not want Aspell to detect those as incorrect. So, ...
0
votes
1answer
44 views

How do I rotate an image clockwise using the Windows command line?

Is there a way to rotate images stored in folders clockwise so they can be changed from Landscape to Portrait using CMD or Powershell? If there isn't a way to do it then please let me know. It might ...
0
votes
1answer
25 views

Get size of a file and save it to a variable in Windows console?

I'm making a windows batch script, I need to get the specific size of a file so I can Insert that and other values I already got to a database, but I just can't figure out the proper way to do it. ...
0
votes
0answers
33 views

How to run batch script on server which exists in different domain of your PC?

I am trying to execute a batch file residing on some server which lie in different domain w.r.t my pc. I tried: PSExec -> but its persistently giving error: Couldn't access 192.168.238.74: The ...
-5
votes
1answer
91 views

No error when the vbs code is run on remote computer [closed]

I hoped this vbs code would execute the oShell.run methods on the remote machine. This doesn't seem to be the case but there is no error shown when this script executes. on error resume next dim ...
2
votes
5answers
48 views

Checking disk capacity in windows of remote servers

I am working in windows and I wanna to find out through command line disk capacity of remote windows servers. For ex: I am @localhost, now I want to know whether D: drive of server 172.68.68.68 is ...
0
votes
2answers
31 views

How to solve error: There is no script engine for file extension “.cmd”

I have created a .cmd file that I would like to run without bringing up a command window. I am trying to do this by creating a shortcut on my desktop. The target of that shortcut is: ...
-1
votes
1answer
41 views

Write Internet Time to a file from windows command line

I want to write the time of an internet time server to a text file from within windows server 2012 command line. Does someone knows how to do that? Thanks!
1
vote
1answer
54 views

Ctrl-C not killing process in CMD.EXE

I've had this issue for a while even after reinstalling. Issue happens after I reinstall all my programs and not in a fresh Windows install (obviously). Might have to spin up a VM and install each ...
0
votes
0answers
46 views

Ping results “echo'd” out to a text file on Windows XP machine has unusual character rather than the expected outcome

I have a Windows XP machine on which I would like to ping another machine and send the output to a text file for review at a later date. This is quite a standard question with several answers on this ...
1
vote
0answers
17 views

Disappearing characters between youtube-dl, ffmpeg, and cmd

so what happens is that if the video title has a symbol that isn't supported by your current locale then ffmpeg won't be able to get to that file properly. Here's one example ►2 HOURS BEST MELODIC ...
0
votes
1answer
41 views

Is it safe to force a dismount to format a volume in Windows?

I am using format command in cmd to format a USB flash drive. M:\>format /FS:FAT32 /Q Required parameter missing - M:\>format M: /FS:FAT32 /Q Insert new disk for drive M: and press ENTER when ...
-1
votes
3answers
55 views

How to create a new text file at the cmd prompt with the end result allowing me to rename the file?

I would like an exact duplicate of the following procedure on a Windows computer using mouse clicks: Right Click in a directory and choose New and then Text Document. When one does this, the text ...
0
votes
1answer
30 views

Cant open command prompt from file menu

I am running windows 8.1 and in explorer I cant open cmd from any folder via file menu. . the option is unavailable.
0
votes
0answers
88 views

How to remove Write Protection appears due to a virus

I have follow up the below process in cmd DISKPART> attributes disk clear readonly Disk attributes cleared successfully. Even I do that it displaying Read-only:yes,So I guess It happens because ...
0
votes
1answer
40 views

Passing Arguments to Hex on Windows Command Line

I want to pass arguments manually on the Windows command line consisting of hex values of the byte e.g. "\x41\x42\x43\x44" - a sequence of 4 bytes on the cmd.exe command line to a program. How do I ...
-1
votes
1answer
69 views

Kill processes and programs in windows instantly

Some programs I run can't be killed and terminated even from the Task Manager. Sometimes they can be terminated but it takes too long. I want a method that always kills them instantly. Is there any ...
0
votes
0answers
9 views

Apache ftpd not stoping

I am using apache ftpd server on my development PC. I don't want to load it as service. I can start it using ftpd.bat but can not stop it. Each time I start this I have to stop it from Task Manager. ...
0
votes
0answers
40 views

How to make Batch file to give a message when exiting?

Code: @echo off start /wait /b echo hi > message.txt pause exit When you click the batch and type exit, you the message saved. My problem is, if you exit by click " X " button, then no message ...
1
vote
1answer
37 views

Cmd output to file gives wrong character encoding

When I redirect the cmd command tree to a text file: tree > c:\tree.txt and open the file with notepad I get the following result: Folder PATH listing Volume serial number is 00000:0000 Z:. ...
1
vote
2answers
132 views

Sending an email with Lotus Notes using Windows Command Line

I am using Lotus and wanted to send email via batch file, I tried following command. *D:\lotus\Notes\notes mailto:abc@abc.com?subject="Hello"?body="Test"* The issue is that instead of sending ...
1
vote
2answers
61 views

How to download a file through Telnet using HTTP request? [closed]

I need to download a file, for example: http://gensho.acc.umu.se/debian-cd/7.5.0/amd64/iso-dvd/debian-7.5.0-amd64-DVD-1.iso with usage of Telnet and HTTP request. How can I do that?