i need to copy Data.cFileName (it holds the file name) into the string that holds the rest of the path how would i do this :confused:
Code:#include <windows.h>
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
HANDLE Find;
WIN32_FIND_DATA Data;
int decide;
string path = "c:\\Documents and Settings\\wmorrish\\Desktop\\Other\\";
Find = FindFirstFile("C:\\Documents and Settings\\wmorrish\\Desktop\\Other\\*.exe", &Data);