I have one solution to create a desktop shortcut for file (file is from C:\ location) which is working fine on windows 7, windows vista but its failing on windows 8.1 (32 bit). That solution is below in 2 steps -
1. Go on C:\ path
2. Right click on that .exe file and select "send to" text option (using textSelect property) - right key on it to select "Desktop (create shortcut)" option
Now the case is for windows 8.1, its unable to identify "Send to" context menu so I was checking for shell or command prompt command which can fit in my VBA script but that is also not one liner command. Even I found another solution where we can create bat file or exe file to create short and then use that file in code but this is also not possible as to avoid dependency.
Is there any suggestions on this?