03-26-2010 01:29 AM
Hi
Is it possible to create a shortcut to my program, when a user clicks on a button ?
I thought to copy and paste a static shortcut but the shortcut target must includes a file that the user specifies.
Is there any way of doing this ?
Solved! Go to Solution.
03-26-2010 07:10 AM
I found a solution.
I create a bat fille with the attributes i want.
I have another question.
How do i change the icon of the bat that i have created ?
03-26-2010 07:26 AM
03-26-2010 07:54 AM
I do not think you can change the icon of a .bat file individually.
.bat files are simple text files with DOS commands in it. No room for icons.
You can change the icons of "all" batch files from Folder Options > File Types
Here is a bat-to-exe converter program.
Maybe you can convert your .bat to exe and assign an icon for it.
03-26-2010 08:45 AM
I need it all to be done via my software.
Is there a way i can create my own extension which is a duplicate of the .bat extension ?
04-09-2010 06:12 AM - edited 04-09-2010 06:13 AM
I found the real why to do it.
By creating a Shell Link Using Win32 API.