Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drag & Drop on Application ?

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

I have some Perl program compiled into an .exe using the pp.
It's activated from cmd prompt and get the dir to parse and the type of file (extention) to work on,then it parses all files from dir and extracts some info.

Is there a way to have it receiving the source dir by dragging the folder on this application icon ?
(ANd then providing the regular output).
thanks

Long live king Moshiach !
 
i think it does that by default ... but if you already tried it and it did not work, it might be because the output gets printed in a cmd, then the script ends so the cmd closes and you dont have enough time to see the results. consider adding a sleep 10; at the end of the script or an STDIN entry in order for the script to end, to delay the cmd from closing...if this is the case...
I might be wrong though. Maybe there is no such default drag and drop function when you make an exe.. the truth is that I never tried it.


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top