Solved

Directory Control

Posted on 1997-12-06
1
185 Views
Last Modified: 2010-04-10
I was trying to write a program in borlandC 4.5 to copy some files from a root directory into other directories.Now the other directories within the same drive. 1. i need create sub directories already in existing parent directories and then move the files into them. for instance. c: has directories called a,b,c ,well within these existing directories i need to creat sub directories and drop these files into them is this possible ?
0
Comment
Question by:jbird090897
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 20 total points
ID: 1175034
Use CreateDirectory(Ex) Win32 API to create subdirectory and then use MoveFile(Ex) to move file(s).
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to understand recursion 12 226
How to convert MFC APP to Win32 APP. 19 79
How to convert MFC::CString to UTF8 wchar_t* 10 207
Safe conversion? 4 67
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question