1 Replies - 691 Views - Last Post: 13 December 2010 - 05:16 AM Rate Topic: -----

#1 rumbitas  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 98
  • Joined: 07-December 10

How to Drag and drop on executable

Posted 13 December 2010 - 04:06 AM

Hi, I have a program in C + +, which I write as the first argument a file that has to handle. My call to the program in the command line looks like this: "ficob.exe pais.txt" and the program generates the output me in a different file. My question is how I can do that by dragging the file "pais.txt" on the executable, the program will do the same.

I do not know if I explained well.
Is This A Good Question/Topic? 0
  • +

Replies To: How to Drag and drop on executable

#2 rumbitas  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 98
  • Joined: 07-December 10

Re: How to Drag and drop on executable

Posted 13 December 2010 - 05:16 AM

Hi, I've found a way to fix the issue to drag and drop. But my new problem is that if I drag a file to the program path: "C:\Documents and Settings\rumbitas\desktop\pais.txt" the result is stored in "C:\Documents and Settings\rumbitas". How I can do to save the result in the same folder?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1