swirl
Home Software Blog Wallpapers Webtools
Command line Copy and Paste files

homeHome
Software listSoftware List

Delicious Bookmark this on Delicious

Command line Copy and Paste files

zip file Download file (53 KB) [Downloaded 13 times]

Features

Want to copy files from Windows Explorer into Command Line or vice-versa?

  • Copy files in Windows Explorer and paste them into an Command Line window
  • Copy files into Windows clipboard from command line and paste files using Windows Explorer
  • Works with any application which uses Windows clipboard for copying and pasting files
  • Use multiple wildcard while copy files from Command line into clipboard e.g. *.txt *.exe in a single shot
  • Works on Windows XP and above
  • Works on 32-bit and 64-bit platforms
  • Freeware

Usage help

The zip file contains two files 'clipcopy.exe' and 'clippaste'.
Use clipcopy.exe to copy files from command-line into the Windows clipboard.
Use clippaste.exe to paste files which have been copied into the Windows clipboard using any programs such as Windows Explorer or clipcopy.

Using Clippaste.exe
Syntax: clippaste {-overwrite:yes|no} {destination folder}
{destination folder} is optional. If no folder is specified, contents will be copied to the current directory.
{-overwrite} option allows you to specify if you are asked about over-writing existing files. It can have two values, 'yes' and 'no'. If 'yes' is specified, existing destination files are overwritten without notice. If 'no' is specified, any exisitng files in the destination folder is skipped from being overwritten.
Examples:
To copy files into the current directory and skipping any existing files:
clippaste -overwrite:no
To copy files into a specific directory and wanting to be asked if an exisitng file should be overwritten:
clippaste d:\temp
To copy files into a specific directory and and overwriting any existing files:
clippast -overwrite:yes "d:\my folder"

Using ClipCopy.exe
Syntax: clipcopy [file or folder] [file or folder] ...
E.g. To copy a file called hello.exe in the current directory to the clipboard clipcopy hello.exe
To copy two specific files to the clipboard
clipcopy c:\temp\hello.exe d:\myfolder\readme.txt
To copy a folder in the current directory to the clipboard
clipcopy MyFolder
To copy a specific folder to the clipboard
clipcopy "c:\temp\My Folder"
To copy files or folders based on a pattern
clipcopy c:\MyFolder\*.txt
To copy files or folders based on a pattern
clipcopy c:\MyFolder\*.txt c:\temp\*.exe

Pre-requisite software