1

How can I execute windows batch files from UNIX-AIX, where I installed copssh?

Jens
  • 69,818
  • 15
  • 125
  • 179
Osama Ahmad
  • 805
  • 4
  • 12
  • 18

4 Answers4

3

Does this work? From the Unix box:

$ rsh -l user_name windows_host_name "C:\scan.bat"
dogbane
  • 266,786
  • 75
  • 396
  • 414
1

You can't unless it's very basic, i.e. it doesn't call any Windows specific programs, in which case you're probably better off transcoding it to bash or similar.

Lazarus
  • 41,906
  • 4
  • 43
  • 54
1

The best way will be translating it into bash.

Ruel
  • 15,438
  • 7
  • 38
  • 49
1

Check out winexe.

kofucii
  • 7,393
  • 12
  • 51
  • 79