Moving Folders between two different drives using Batch Scripts - TechRepublic
Question
November 26, 2007 at 10:04 AM
james

Moving Folders between two different drives using Batch Scripts

by james . Updated 18 years, 7 months ago

Hello

I have a current batch script that I want to modify to move folders between two seperate drives on a single machine. I use to have to move about 3,000 files manually and I would prefer to know if I can batch script it. Please help if you can.

@echo off
e:
cd \FTP\tester

for /f “Tokens=1-4 Delims=/ ” %%i in (‘date /t’) do set dt=%%j-%%k-%%l

mkdir %dt%

move e:\ftp\tester\*.* e:\ftp\tester\%dt%

*****
exit

This discussion is locked

All Comments