Tag Info

New answers tagged


You can use for either in a batch file or directly from the command prompt: for %I in (file1.txt file2.txt file3.txt) do copy %I c:\somedir\ Wildcards are supported in the filelist as well: for %I in (*.txt *.doc *.html) do copy %I c:\somedir\ For more info, just type for/? from a command prompt, or for a much easier to read help use Start->Help and ...


The Windows Command Prompt is notoriously broken in this aspect. It is not possible to get the Linux Terminal behavior. However, there is an obscure feature in cmd.exe which helps: Holding down shift when right clicking into the selected area (to copy) will remove ALL newlines in the copied text. If you want to select a single long command line (spanning ...

Top 50 recent answers are included