LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help me (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-674003/)

regi123 10-03-2008 12:49 PM

help me
 
I wish to start an microsoft excel file on remote machine which is
auto open(i.e it executes VBA code when file is opened).

I have installed openssh cygwin on remote machine.

To open an excel file from cygwin terminal I have written an .bat file
which when executed from the remote machine it work fine.but when I start it fron client machine after transfering necessary script file and .bat files to remote machine it is not executing.

some one can help me how to execute .bat file on remote machine.

Thanking you

Quakeboy02 10-03-2008 01:09 PM

please don't post threads with the subject "help me" or any variation on that theme. It annoys the volunteers, and is likely to get you nothing but grief.

TB0ne 10-03-2008 02:07 PM

Quote:

Originally Posted by regi123 (Post 3299211)
I wish to start an microsoft excel file on remote machine which is
auto open(i.e it executes VBA code when file is opened).

I have installed openssh cygwin on remote machine.

To open an excel file from cygwin terminal I have written an .bat file
which when executed from the remote machine it work fine.but when I start it fron client machine after transfering necessary script file and .bat files to remote machine it is not executing.

some one can help me how to execute .bat file on remote machine.

Thanking you

As Quakeboy02 has pointed out, the "help me" title doesn't go over well, and is covered in the "how to post" threads. Also, this is Linux questions...not sure how doing this on Windows system through a batch file is Linux related.

salter 10-03-2008 07:18 PM

This seems to be a Windows topic rather than a Linux problem.

You want to execute a .bat file, which is typically a script meant for an MSDOS prompt. I assume that you are accessing the Windows box from a Linux machine, though that is completely irrelevant. All the action is done by the SSH shell.

It is also quite useless to install cygwin on the remote machine, as there are enough SSH tools for Windows.

Launching your batch file on the remote PC on site works, because you are likely to launch it without SSH. Doing the same remotely will put SSH between yourself and the batch file, and the SSH shell obviously doesn't know what to do with the batch file.

At least that's how I see it.
I could be wrong.
Never mind.

ehawk 10-04-2008 03:26 AM

I am removing a suggestion, as it doesn't address the problem...sorry.

These links seem more appropriate:

http://www.microsoft.com/windowsxp/u...moteintro.mspx

http://theillustratednetwork.mvps.or...t_PC_and_Users

http://theillustratednetwork.mvps.or...esktopSSH.html


All times are GMT -5. The time now is 03:19 AM.