Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch to move all files in a list.
Name: Rakeris Date: August 10, 2008 at 09:30:09 Pacific OS: XP Pro SP3 CPU/Ram: 2.4GHz 2GB
Comment:
Ok. Say I have 500 folders, I want to only move the 200 I have in a list, the list has the full path name for each folder.
Ex. E:\My Documents\Stuff\More Stuff\Folder 321
So, how can I make a batch file to move only the folders specified in the list.
Name: ghostdog Date: August 10, 2008 at 18:11:37 Pacific
Reply:
use the for loop to loop through the list, and moving them each time. To move files, use move. To see how the for loop works, do for /? on the command prompt
0
Response Number 2
Name: Rakeris Date: August 11, 2008 at 06:40:12 Pacific
Reply:
Thanks for the help, took a couple attempts but I managed to get it to work!
Summary: Hi, I'm trying to do this batch file that can moves my files with a certain name to a desired folder. Code: @ECHO OFF dir /b *NAME_TO_SEARCH*.* > Move_List.txt for /f %%i in (Move_List.txt) do move %%...
Summary: I have been using a batch file to delete .zip files in a directory that are older than 2 days old. It has been working very well. However, I would like to modify it so it will delete files older than ...
Summary: We pull down files via FTP, these files are in hex format with no extension (eg. 008C334D) and the company that hosts the FTP site has said they can not change these files to have a different filename...