# Runnig batch files remotely

**URL:** https://www.finalbuilder.com/forums/t/runnig-batch-files-remotely/91
**Category:** Discussion
**Created:** [May 10, 2006, 4:55am UTC](https://www.finalbuilder.com/forums/t/runnig-batch-files-remotely/91 "2006-05-10T04:55:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nirsilgi](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nirsilgi](https://www.finalbuilder.com/forums/u/nirsilgi)
#### Post date: [May 10, 2006, 4:55am UTC](https://www.finalbuilder.com/forums/t/runnig-batch-files-remotely/91/1 "2006-05-10T04:55:42Z")

</div>

Hi,  
  
This question is not directly about FB, if you think it’s in the wrong place, please move it.  
  
I’m using PSexec to run a batch file on a remote server, this batch files calls an exe file with parameters. When I run the batch file locally it opens a DOS window which opens another DOS window for the exe file. These windows are important to see logs. I want these DOS windows to open when I start he batch file remotely but for some reason they don’t. Do you know any way to accomplish this? I even tried to set up a scheduled task with FB but the Scheduled task doesn’t open a batch window either! (In both cases the exe file loads in the memory)  
  
Can anybody help?  
  
Thanks in advance,  
NirS

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [May 12, 2006, 4:09am UTC](https://www.finalbuilder.com/forums/t/runnig-batch-files-remotely/91/2 "2006-05-12T04:09:10Z")

</div>

Hi Nir,  
  
psexec has a -i option which allows the program to be run interactively with the remote user’s desktop.  
  
hth.  
.t8
