Linux.com

Home Learn Linux Linux Answers Applications Hello, is there any possibility to run bat file on remote Windows from Linux?
Answers
  • 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 linux.com 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 / command.com shell. Here's there link:
    http://archive09.linux.com/feature/124908

    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
    like
    rdesktop 192.168.1.4

    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. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
    Details
  2. LFS520 OpenStack Cloud Architecture and Deployment
    08 Sep » 11 Sep - Virtual
    Details
  3. LFD320 Linux Kernel Internals and Debugging
    15 Sep » 19 Sep - Virtual
    Details

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