`
Par2: Starting app with file selected in Windows Explorer 2000-12-14 -- Larry Sand >I know how to associate the file extension with my app. > > I do not know how to get the file from windows explorer before my app > starts. I have a open file procedure that works fine When you double click on the associated file, the short file name is passed on the command line to your application. I typically use LONGPATH() to convert this before using it in the program. Use COMMAND() to retrieve in the program before the files are opened. Tim Phillips adds: I am using Windows 2000 Professional and that is passing the long path with " marks when the path would use it. Printed December 3, 2024, 11:59 am This article has been viewed/printed 35321 times. |