# Receive input "The batch file cannot be found"

**URL:** <https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346>\
**Category:** Ask a question\
**Tags:** bug, question, windows, jenkinsfile\
**Created:** [January 17, 2023, 3:14pm UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346 "2023-01-17T15:14:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eligol](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/eligol/32/3120_2.png) [@eligol](https://community.jenkins.io/u/eligol)\
**Post date:** [January 17, 2023, 3:14pm UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346/1 "2023-01-17T15:14:44Z")

</div>

Hey everyone . I’m using Jenkins 2.361.2 for a personal project and when I run a job that calls a specialized internal program I receive input on the console “The batch file cannot be found” and my job is stuck and does not continue more . my agent is Windows Server 2022 version 21H2 anyone have a idea maybe?  
thanks

---

<div class="post-metadata">

**Author:** ![slide\_o\_mix](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/slide_o_mix/32/20977_2.png) [@slide\_o\_mix](https://community.jenkins.io/u/slide_o_mix)\
**Post date:** [January 17, 2023, 3:21pm UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346/2 "2023-01-17T15:21:30Z")

</div>

Can you share your Jenkinsfile? It would be useful to see what you are trying to do.

---

<div class="post-metadata">

**Author:** ![eligol](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/eligol/32/3120_2.png) [@eligol](https://community.jenkins.io/u/eligol)\
**Post date:** [January 18, 2023, 9:55am UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346/4 "2023-01-18T09:55:52Z")

</div>

we work with pipeline not with Jenkinsfile .

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [January 18, 2023, 6:55pm UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346/5 "2023-01-18T18:55:16Z")

</div>

Hi there,

“it doesn’t work” is always hard to remote debug. Try to always include these 3 things.

1. what did you try? (Code samples, command lines, screenshots, videos, etc)
2. what did happen? (Error messages, description, outputs, stuff)
3. what did you expect to happen?

Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.

---

<div class="post-metadata">

**Author:** ![eligol](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/eligol/32/3120_2.png) [@eligol](https://community.jenkins.io/u/eligol)\
**Post date:** [January 22, 2023, 12:27pm UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346/6 "2023-01-22T12:27:50Z")

</div>

its happend when i try to using bat command .

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/c/ce85c8e87ecad7bc0591c59dbe8a8bddd02898d0.png)

---

<div class="post-metadata">

**Author:** ![eligol](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/eligol/32/3120_2.png) [@eligol](https://community.jenkins.io/u/eligol)\
**Post date:** [January 22, 2023, 12:47pm UTC](https://community.jenkins.io/t/receive-input-the-batch-file-cannot-be-found/5346/7 "2023-01-22T12:47:15Z")

</div>

this is the screenshot of bug

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/4/4349bbfc99011f9a332b2583a019374ad67e7ada.png)
