When I typed this command in cmd.exe
:
E:\mywamp\redis-2.8.19\redis-server.exe --maxheap 512mb
it ran successfully.
I want to create a windows shortcut to start redis
quickly. So I created a shortcut in windows and filled the target input with the content above. But when I double click the shortcut, it just disappears. It seemed the parameter of --maxheap 512mb
is not passed to the program of redis-server.exe
.
I have tried to use quotation marks to enclose the target string, but the problem is still here.