If somebody could help me that would be MUCH appreciated.
#include <iostream>
#include <windows.h>
#include <shellapi.h>
#include <fstream>
using namespace std;
int main(int argc, char *argv[])
{
if(argc < 2)
{
cout << "Drag and drop your files to the main executable" << endl;
cin.get();
return 0;
}
else
{
cout << "Successful\n";
cout << "The File Location is: " << argv[1];
cin.get();
}
return 0;
}
This post has been edited by mocha1316: 29 June 2010 - 06:51 PM

New Topic/Question
Reply




MultiQuote







|