Question Locked

Moving Folders between two different drives using Batch Scripts

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

3 replies

by james

Sorry I forgot to mention that it was a simple typo in the script, i did not add the quotation marks in the name since the folder had a space. Again my apologies.

This discussion is closed to new replies.