How can I execute windows batch files from UNIX-AIX, where I installed copssh?
            Asked
            
        
        
            Active
            
        
            Viewed 5,563 times
        
    1
            
            
        - 
                    oh i'm sorry i mean UNIX – Osama Ahmad Sep 30 '10 at 13:37
- 
                    Do you want the batch file to execute on the AIX machine or a Windows machine? – Gabe Sep 30 '10 at 13:40
- 
                    i write `.bat` file and store it in `c:\scan.bat` ..... now i want to execute this file from UNIX_AIX ... – Osama Ahmad Sep 30 '10 at 13:43
4 Answers
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
 
     
     
    