I tried to clarify as much in the subject best I could with the amount of spaces it gives. Basically, is it possible to?:
#1 have the bat create a shortcut of itself in the same directory as the bat.
#2 have it add an icon to the shortcut
#3 pinning it to the start menu automatically would be cool too.
#4 start another instance of itself, starting it with the shortcut
#5 closing out of the first instance
#6 having the new instance know to bypass this routine.
Sounds ridiculous, I know.. but it's for different computers and different users. Trying to make it easier for them to find it and have the bat file have an icon.
thanks in advance!
Jules
Create a shortcut and add an icon using bat of itself
Moderator: DosItHelp
-
- Posts: 81
- Joined: 19 Nov 2013 00:41
Re: Create a shortcut and add an icon using bat of itself
You can write the configuration routine to run only if an /install parameter is provided on the command line.
Creating shortcut and icon are something for you to google about. They depend on the OS too I think.
The startup folder also changes depending on OS.
Creating shortcut and icon are something for you to google about. They depend on the OS too I think.
The startup folder also changes depending on OS.