TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
PeterGriffin
NA
1
0
Help with File Manipulation
May 3 2005 12:38 PM
I want to read in a list of files in a directory then use that list to copy from that location to another. Here is what I have so far. How do I now copy from the list of files in the "dirs" string to another location? using System; using System.IO; class MonthlyMove { static void Main() { string[] dirs = Directory.GetFiles(@"c:\TEST\Master"); foreach (string dir in dirs) { Console.WriteLine(dir); //File.Copy(@"C:\TEST\Current_Month\file1.txt", @"C:\TEST\Previous_Month\AnotherFile.txt", true); } } }
Reply
Answers (
1
)
Insert Into Visual Foxpro Error...
Howto? Making objects 'global' in scope using static.