NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > General Marketplace > Web Development > Web Development Wanted
Reload this Page WANTED: Easy Batch File Job

Web Development Wanted Requests for websites, templates, custom programming, logos or graphics.

Advanced Search
1 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 11-02-2011, 08:10 AM THREAD STARTER               #1 (permalink)
Miembro Especial
 
MicroGuy's Avatar
Join Date: Aug 2007
Location: The Fourth Density
Posts: 6,831
MicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatnessMicroGuy Has achieved greatness
 


Special Olympics Special Olympics Special Olympics Special Olympics

Wanted WANTED: Easy Batch File Job


Please do not do any work if you see PM sent in this thread

I need a batch file that will work on Windows Server Web Edition that will move certain file types from the directory root and ALL sub directories into another directory.

Example:

Destination
e:\moved

Source
c:\documents\bg.doc
c:\documents\bg.htm
c:\documents\abc\ea.doc
c:\documents\abc\ea.doc
c:\documents\abc\eb.text
c:\documents\abc\ec.doc
c:\documents\abc\a.doc
c:\documents\123\a.htm
c:\documents\bg.doc
c:\documents\def\c.txt

I want the batch file to move all the .doc and .txt files (or other specified extensions) from the root directory AND ALL subdirectories into the e:\moved folder.

The commands in the batch file should specify directory root and all sub directories. Please make the batch file along with comments in the file containing instructions.

I can pay $10.00 upon completion. Please post "PM sent" in thread and send me a link to the file along with your PayPal email address. Upon receipt and testing, I will send funds.

Please do not do any work if you see PM sent in this thread
__________________
......
Astral Projectors Do It In A Vortex!
Last edited by MicroGuy; 11-02-2011 at 08:18 AM.
MicroGuy is offline  
Old 11-02-2011, 10:05 AM   #2 (permalink)
vc
NamePros Regular
Join Date: Sep 2010
Posts: 289
vc is a splendid one to beholdvc is a splendid one to beholdvc is a splendid one to beholdvc is a splendid one to beholdvc is a splendid one to beholdvc is a splendid one to behold
 



Here you go

Code:
set ext=xls bmp
set root=d:\data\532224979\Desktop\TEST
set final=d:\data\532224979\Desktop\TEST\final\

for %%a in (%ext%) do (
	for /f "delims=" %%b in ('dir /b/s/a-d "%root%\*.%%a"') do (
		MOVE /Y "%%b" "%final%"
))
You can still request my paypal account if this helped you
__________________
vanilla.me - New/Transfer/Renew: $15 - The sweetest ccTLD Registrar
vc is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wanted - wordpress expert, easy simple job theme installation Tim Schoon Web Development Wanted 2 06-04-2011 11:02 PM

 
All times are GMT -7. The time now is 11:22 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger