-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCREATE_SHORTCUT.bat
More file actions
16 lines (14 loc) · 753 Bytes
/
CREATE_SHORTCUT.bat
File metadata and controls
16 lines (14 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@echo off
set currentpath=%cd%
cd /d %currentpath%
echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = "%userprofile%\Desktop\Lamp Stack menu.lnk" >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "%programfiles%\Git\bin\bash.exe" >> CreateShortcut.vbs
echo oLink.Arguments = "-l %currentpath%\dockerstack.sh" >> CreateShortcut.vbs
echo oLink.WorkingDirectory = "%currentpath%" >> CreateShortcut.vbs
echo oLink.Description = "LAMP and MEAN Stack Menu" >> CreateShortcut.vbs
echo oLink.IconLocation = "%currentpath%\icons\lamp-stack.ico" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs
cscript CreateShortcut.vbs
del CreateShortcut.vbs