A
A
ALTech12020-04-20 23:43:36
cmd/bat
ALTech1, 2020-04-20 23:43:36

How to make a shortcut to an exe file using bat?

Hello!
I have a Unity game, but it's inconvenient to use a ready-made build without a shortcut. Tell me how you can create a shortcut on the desktop automatically. I was looking for something related to bat, but I did not find it.
Help plz.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
hint000, 2020-04-21
@ALTech1

From the first page of Google:
https://www.cyberforum.ru/cmd-bat/thread2343164.html
www.oszone.net/6161
https://windata.ru/windows-xp/faq-xp/sozdaem-yarly..
https://forum.sources.ru/index.php?showtopic=346193 https :
//qastack.ru/superuser/392061/how-to-make-a-...

X
xmoonlight, 2020-04-21
@xmoonlight

InnoSetup

S
serj6654, 2021-09-17
@serj6654

Sorry, you can check this link https://windata.ru/windows-xp/faq-xp/sozdaem-yarly... a command for the icon has been added there, but what if there is no icon? because the program itself is not yet. The fact is that silent installation of the program does not always add a shortcut to the desktop. how can I, for example, display a shortcut, along this path with a batch file C:\Program Files\Cheat Engine 6.8.3\Cheat Engine.exe, that is, first the silent installation command, and the second command to add a shortcut. tell me the second command please. to have a shortcut on the desktop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question