0

I want to flush redis server through batch file so I am trying to create batch file with following command but it doesn't work for me.

SET REDIS_PATH=C:\Redis
"%REDIS_PATH%\redis-cli" FLUSHALL
Jeevan Gharti
  • 451
  • 1
  • 7
  • 15
  • 1
    You say it "doesn't work" but you don't go into detail. How do you know it has failed? What error do you see? Does the command work correctly when you run it directly from the command prompt? – SomethingDark Apr 28 '20 at 06:28

1 Answers1

0

Solved My self. I have created a shortcut to desktop and edited properties.

Jeevan Gharti
  • 451
  • 1
  • 7
  • 15