Skip to content

Instantly share code, notes, and snippets.

@CyberBison
Last active October 20, 2016 09:27
Show Gist options
  • Select an option

  • Save CyberBison/806c4b0004ab0c1c585a75acd78edb60 to your computer and use it in GitHub Desktop.

Select an option

Save CyberBison/806c4b0004ab0c1c585a75acd78edb60 to your computer and use it in GitHub Desktop.
This is a (very) small script to copy files to another directory (like a shared one) and then move it in another directory
@echo off
REM This script will copy all CSV files of the given directory to another location
REM Then it moves files to another directory
xcopy C:\path\to\files\*.csv Z:\path\to\copied\files\ /y
move C:\path\to\files\*.csv C:\path\to\new\location\ /y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment