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.
bat to sort files into folders
Name: Confused84 Date: April 16, 2009 at 04:03:06 Pacific OS: Windows XP Subcategory: Batch
Comment:
Hi,
I'm faced with a task and if someone could point me in the right direction it would be much apreciated.
Each day a number of guid zip files are imported (via mobile broadband but that's not relevant) into my c:\import directory. All these zip files are named differently but i'd like to find a script that will. Take each file and move them into a folder named after each of them files. It would need to create the folder if it doesn't already exist. Obviousely each day I get a new import which I want to add to the previous days and assorting them automatically would extremely useful.
Summary: How do I write a dos bat file to edit my hosts windows file. Currently I have written a login script that every time a user login it will append "172.29.1.43" to hosts file by using the following comm...
Summary: Hi , Sorry for the confusion...I need to add date to the file name as below.. abc.432423.18072008.csv abc.432335423.17072008.csv abc.432423s324245.16072008.csv abc.43247623.15072008.csv I have goggled...
Summary: Hi Lee some questions on the code that you gave last: setlocal enabledelayedexpansion for %%j in (*) do ( set filename=%%j rename !filename! kzn!filename! ) Would this not add a prefix to all files? I...