Hi,
I did a search for this topic but did not find anything here at winasm.org, and very little elsewhere.
The MASM32 package includes an example in COM for creating shortucts, primarily focused on .EXE files.
When using an .EXE file, the shortcut is created as .LNK file. When using .BAT or .COM files, the example will create .PIF shortcuts.
Now... with a slight modification you can update this example to also include a "Set Working Directory Method," in addition to the two other methods already in the example.
The real problem rests in getting the example to properly include, say.... the MS-DOS icon for .BAT and .COM file shortcuts, like the windows shell does when manually creating shortcuts.
The QuestionMaking shortcuts is a breeze for .EXE files, but...
How do you create shortcuts that properly include the MS-DOS icon, or the icon of your choice for .BAT and .COM files, when using Mr. Murphy's adopted COM shortcut example incuded in MASM32? Or is there a better way?
I have attached the slightly modified version that includes "Set Working Directory Method."
Please note that I have set my studio pathing options to include the MASM32 Include directory so that I do not have to have explicit path names, so you may have to...
1.) Add the full Paths back to the example.
or...
2.) Update your studio path settings.
I look forward to some dialouge on this topic.
Thank you for participation at winasm.org ;)
SEE ALSO: \MASM32\COM\EXAMPLES\SHORTCUT
Attached File ( Number of downloads: 2 )
Login/Register to be able to download