Home Learn Linux Linux Answers Applications Hello, is there any possibility to run bat file on remote Windows from Linux?
  • Yes, there are a couple approaches, but probably the easiest way using the rdesktop connection type. Rather than forwarding an entire windows desktop after doing a remote-desktop login, a single application (including a shell running your batch file) can be launched instead.

    There's an article found in archives that describes it pretty well. It mentions virtual machines and launching notepad or a windows start menu, but you can just as easily lauch a cmd / shell. Here's there link:

    Answered by tdr
    2 years ago
    0 0
  • Fortunately, Linux has rdesktop utility. It is a client for remote desktop protocol (RDP), used in a no of MS prods incld WinNT terminal server, 2000 server, XP & 2003 / 2008 server. It is not needed to install vnc server. All u need is rdesktop client on Linux. Check whether it is there, by default it is, if not install from ur setup disk / source. Then simply, type as:
    rdesktop Windipaddress

    if u want to run .bat file on Linux PC, then install DOSEMU and with this help u can run easily.

    Answered by rechil_colin
    2 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Applications

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA
  2. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA
  3. LFS220 Linux System Administration
    16 Feb » 19 Feb - Virtual

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board