xcopy file, rename, suppress “Does xxx specify a file name…” message

This seems pretty simple and maybe I’m just overlooking the proper flag, but how would I, in one command, copy a file from one directory to another and rename it in the destination directory? Here’s my command: if exist “bin\development\whee.config.example” if not exist “TestConnectionExternal\bin\Debug\whee.config” xcopy “bin\development\whee.config.example” “TestConnectionExternal\bin\Debug\whee.config” It prompts me with the following every time: … Read more

Command prompt won’t change directory to another drive

I’m trying to compile some java (learning java currently), and to do so I need to change command-prompt’s directory. C:\…\Admin> cd D:\Docs\Java C:\…\Admin> cd C:\…\Admin It doesn’t change the directory. I try again using quotes: C:\…\Admin> cd “D:\Docs\Java” C:\…\Admin> Again it doesn’t change the directory. What am I doing wrong? 12 Answers 12

‘git’ is not recognized as an internal or external command

I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, I get the following error: ‘git’ is not recognized as an internal or external command, operable program or batch file. How do I fix this problem? 20 s 20 Have you correctly set your PATH … Read more

How do I kill the process currently using a port on localhost in Windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed last month. The community reviewed whether to reopen this question last month and left it closed: Original close reason(s) were not resolved Improve this question … Read more

javac is not recognized as an internal or external command, operable program or batch file [closed]

I am experiencing an error while trying to compile Java programs. I am on Windows (this is a Windows-specific problem) and I have the latest JDK installed. I have attempted a solution involving the PATH variable, but the error persists. Console output: C:\>set path=C:Program Files (x86)\Java\jdk1.7.0\bin C:\>javac Hello.java ‘javac’ is not recognized as an internal or external … Read more

javac not working in windows command prompt

If you added it in the control panel while your command prompt was open, that won’t affect your current command prompt. You’ll need to exit and re-open or simply do: set “path=%path%;c:\program files\java\jdk1.6.0_16\bin” By way of checking, execute: from your command prompt and let us know what it is. Otherwise, make sure there is a javac in … Read more