Snippets of the day – Tuesday, January 21, 2014

Posted on Posted in Snippets


Here are some of the most recently published snippets!

Java: Export the stack trace of the throwable in input to a String

Open the snippet

Author:    mporru

How to copy a folder and its content in BATCH

This is the command line used to copy an entire folder named “mySourceDir” into “myDestDir”.
/i option means “If Source is a directory or contains wildcards and Destination does not exist, xcopy assumes destination specifies a directory name and creates a new directory. Then, xcopy copies all specified files into the new directory. By default, xcopy prompts you to specify whether Destination is a file or a directory.”
/y option means “Suppresses prompting to confirm that you want to overwrite an existing destination file.”
For all the other options see

Open the snippet

Author:    cghersi

Leave a Reply

Your email address will not be published. Required fields are marked *