Skip to content

Commit 55c830b

Browse files
authored
Merge pull request #2682 from Y2Nk4/patch-1
Add \d for the cd command that windows-installer created
2 parents 8abe0c4 + b10b2eb commit 55c830b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/windows-exe/rabbitmq_nsi.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Section "Start Menu" RabbitStartMenu
169169
ShellLink::SetRunAsAdministrator "$SMPROGRAMS\RabbitMQ Server\RabbitMQ Service - stop.lnk"
170170

171171
SetOutPath "$INSTDIR\rabbitmq_server-%%VERSION%%\sbin"
172-
CreateShortCut "$SMPROGRAMS\RabbitMQ Server\RabbitMQ Command Prompt (sbin dir).lnk" "$SYSDIR\cmd.exe" "/k cd $INSTDIR\rabbitmq_server-%%VERSION%%\sbin" "$SYSDIR\cmd.exe"
172+
CreateShortCut "$SMPROGRAMS\RabbitMQ Server\RabbitMQ Command Prompt (sbin dir).lnk" "$SYSDIR\cmd.exe" "/k cd /d $INSTDIR\rabbitmq_server-%%VERSION%%\sbin" "$SYSDIR\cmd.exe"
173173
ShellLink::SetRunAsAdministrator "$SMPROGRAMS\RabbitMQ Server\RabbitMQ Command Prompt (sbin dir).lnk"
174174

175175
SetOutPath $INSTDIR

0 commit comments

Comments
 (0)