DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Yong has posted 5 posts at DZone. View Full User Profile

Windows Powershell: copy D.txt 10 Times, Append File Name.

  • submit to reddit
        // copy d.txt 10 times, append file name.

1..10 |% {copy-item d.txt d_$_.txt}