Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 22nd, 2007, 07:26 AM
Registered User
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Moving files from one folder to another

I have a folder containing .txt files with various names, let's say A1.txt, A2.txt...up to, say, A1000.txt. I also have an Excel (or .txt) file containing a subset of these names, say A3.txt, A15.txt, A24.txt....etc.
I want to feed that file to the System so that it can 'go' to my original folder, copy the .txt files whose names are mentioned in that Excel file, and paste them in another folder of my choice. Simple as that. I would be happy to pay for that application, though, so if you're interested, please email me at [email protected].
Thanks.

Nikolaos Sachtaridis

 
Old November 23rd, 2007, 04:33 AM
Registered User
 
Join Date: Nov 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can read info from excel(it's easy)
You can Copy or Move or delete File with method of File class

so ,you can do it youself.

read excel as a database
or google "Koogra",it's a good class to deal with excel

-------------------------
yeah,I like cookie
www.recipeshow.org





Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files to new drive HaileyJ Windows Server 2 August 5th, 2008 10:59 AM
Moving OCX Files amd2003 Beginning VB 6 10 April 30th, 2008 01:08 PM
Moving files based on an Excel file sachtaridis Excel VBA 1 November 26th, 2007 12:39 PM
How to Zip files within a folder Udi C# 2 January 25th, 2007 12:45 AM
FILES in FOLDER luma SQL Server DTS 0 June 9th, 2005 01:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.