We have the batch program, folders will be created while execute the batch program, exe and INI files are copied into the folder. I have link file for one of the exe. While execute the batch program the linked exe file need to create desktop shortcut automatically. Then application will run. But shortcut will not create and application will not execute. This is my Problem. Please anyone provide solution.
What I have tried:
i try many ways but cannot worked.
echo copy "ABC.lnk" "C:\Users\Public\Desktop"
copy "ABC.lnk" "C:\Users\Public\Desktop"
echo copy "C:\ABC.exe" "%USERPROFILE%\Desktop"
copy "C:ABC.exe" "%USERPROFILE%\Desktop"
Nothing will work