Launching program from desktop

  • Thread starter Thread starter simonc
  • Start date Start date
S

simonc

I have several programs on my machine which I can launch
by dragging and dropping a file onto a desktop shortcut to
the program. These programs then open with the
dragged/dropped file as input. Microsoft Notepad is an
example.

How do I set up one of my own programs to respond in this
way? (In one example I want to do this with there is no
user input at all - the program simply takes the input
file, reformats it and writes the output file.)

Grateful for any advice
 
simonc said:
I have several programs on my machine which I can launch
by dragging and dropping a file onto a desktop shortcut to
the program.
How do I set up one of my own programs to respond in this way?

Look up Command$ in the help.

Create your program using this, then create a shortcut to your
program in the usual way and you're off and running...

HTH,
Phill W.
 
When a file is dragged and Dropped on top of another shorcut it's path is
being passed to the other application so you should make a startup parameter
in you program and check it to know if something was dropped on it..

Mike
 
Back
Top