I am getting a issue with window batch command in jenkins.
When i use jenkins with command prompt with command -> java -jar jenkins.war i am able to use wget.exe but in service mode i get error -> 'wget' is not recognized as an internal or external command, operable program or batch file.
i have installed wget.exe in windows and give path of that in my system variables.
I am using wget because i want to download a directory from ftp server and curl can't be use for downloading the whole tree structure from ftp server, that's why i installed wget.exe in windows