batch file - 'tar' is not recognized as an internal or external command -


i trying extract zip file in windows 10 using batch script. simple command:

 tar zxf "logstash-5.4.0.tar.gz"  echo "installed"  

but getting following error:

'tar' not recognized internal or external command

i have seen have install tar how can that?

how can this?

edit tar pre installed in windows or have externally add it? still how can extract without using third party tool.

you can download tartool application in desktop , paste c:\windows\system32\

for eg:-(c:\windows\system32\tartool.exe)

by doing work internal command when want extract file can use

c:>tartool.exe d:\sample.tar.gz ./

for more commands can read documention part of tool


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -