Solved

Directory Control

Posted on 1997-12-06
1
186 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

860 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