Top "Cmd" questions

Command Prompt (executable name cmd.

How can I move all the files from one folder to another using the command line?

What is the best command to move all files from one folder to another? I want to do this from …

batch-file cmd command-prompt
"Could not find or load main class" Error while running java program using cmd prompt

I am running a simple "HelloWorld" Program. I get this error in the command prompt: Could not find or load …

java cmd classpath environment-variables
Open text file and program shortcut in a Windows batch file

I have two files in the same folder that I'd like to run. One is a .txt file, and the …

command-line batch-file cmd command-prompt
How to get folder path from file path with CMD

I need path to the folder that contains cmd file. With %0 I can get file name. But how to get …

path cmd
Creating a file name as a timestamp in a batch job

We have a batch job that runs every day and copies a file to a pickup folder. I want to …

windows batch-file cmd timestamp
Run cmd commands through Java

I found several code snippets for running cmd commands through a Java class, but I wasn't able to understand it. …

java cmd cd
Redirecting Output from within Batch file

I am creating a batch file with some simple commands to gather information from a system. The batch file contains …

windows batch-file cmd io-redirection
Ping with timestamp

On the Windows command prompt cmd, I use ping -t to 10.21.11.81 Reply from 10.21.11.81: bytes=32 time=3889ms TTL=238 Reply from 10.21.11.81: bytes=32 …

cmd timestamp ping
How do you run a command as an administrator from the Windows command line?

I have a small script that performs the build and install process on Windows for a Bazaar repository I'm managing. …

cmd windows-7 windows-vista
Running Windows batch file commands asynchronously

Say, if I have foo.exe bar.exe baz.exe How do I run all of them from a batch …

batch-file cmd