DOS Batch

Here are some usefull Dos Batch Snippets.

Dos Batch Snippets

 * Get user from Remote PC
 * Change to directory from batch file even with UNC path
 * Display nice message to user
 * Test if a program is running
 * Wait a certain amount of seconds
 * Read and write registry
 * Read a file and use the content
 * Stop programm from command line