12-30-2010
Executing .bat file
Hi ,
I have a bat file on windows machine ,I need to excute it from my local unix machine using sambe utility.Is there any comman to execute the .bat file remotely.
Using samba utility i can post files to and fro from windows to unix but i don't comman to exute the .bat file.
can any one assist me on this?
Thanks,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have created get_list.bat file containing following line:
dir /B /O-d >file_list.txt
I am executing ftp command from Unix box and transferring get_list.bat file to windows server.
In my next ftp command I am trying to execute this test.bat file by entering this line:
get_list
or by... (9 Replies)
Discussion started by: alx
9 Replies
2. UNIX for Dummies Questions & Answers
Hi guys. Can someone point me to a resource that explains this? Basically these are websphere logs that need to be stored daily, I'm on sunOS 5.8. Each new file stored could have the current time as its filename. The script could be run on a cron which I can set up. I'm just not sure how to write... (0 Replies)
Discussion started by: dirtybrown
0 Replies
3. Shell Programming and Scripting
Hi.
I'm trying to convert bat file into shell script. Bat file invokes awk file in one section:
c:\upg\exe\gawk -f c:\upg\awk\gen_sae.awk -v OP=C:\\upg\\lod\\... ...c:\upg\ref\saaxi.ref c:\upg\log\SAAEPWO.log c:\upg\ref\saaepref.log
First of all I issued unix2dos command on that awk file.... (0 Replies)
Discussion started by: andrej
0 Replies
4. Shell Programming and Scripting
hi
how can I execute a shell script on unix server from a .bat file of windows desktop??
Regards. (3 Replies)
Discussion started by: Chaitrali
3 Replies
5. Windows & DOS: Issues & Discussions
Hi people.
Don't know if you could help me, but here it goes anyway.
I need to search for some directories, and if i for any file founded a must run another Bat file.
Can this be done in DOS ?
Thanks in advance (1 Reply)
Discussion started by: osramos
1 Replies
6. Windows & DOS: Issues & Discussions
Hi!
I'm very sorry for such simple and silly question but I cannot answer it by myself.
Can you please help me?
In .bat file I should run the C program which is in other directory, and the input configuration file is in this directory too.
This dir name is in dirRun variable. The... (3 Replies)
Discussion started by: Anta
3 Replies
7. Shell Programming and Scripting
Hi all,
I am a very new user for korn scripting and in a process of learning.
i have a .bat file that calls a .vbs file which calls a macro used to convert an excel spread sheet to .csv file...
Now i want to automate this process. I want to call this bat file using a korn script or a korn... (16 Replies)
Discussion started by: bhagya2340
16 Replies
8. Shell Programming and Scripting
Hi guys,
I need a *.bat to run a ksh file in the shell on Windows NT...nothing more :) How do I do it? I tried with the following but it failed:
set INFORMIXDIR=D:\user-applications\informix
set PATH=%INFORMIXDIR%;%PATH%
D:\user-applications\MKS\mksnt\sh.exe C:\hk_9.2\C3_weekly_auto.ksh... (4 Replies)
Discussion started by: Dird
4 Replies
9. Shell Programming and Scripting
Hello everyone,
I've written quite a few AWK scripts to run in cygwin and now, I would like to run them one after the other in a .bat file. The problem is, I tried modifying the .bat file used to run cygwin in the first place, but whenever I change something, it doesn't work.
The PATH is set up... (3 Replies)
Discussion started by: Teroc
3 Replies
10. Shell Programming and Scripting
I need to put/get files from Windows machine to Unix machine and vice-versa.
I wrote a text file "ftp1.txt" as below.
naga
naga06
cd /root/Naga
prom off
get time.unl
bye
I wrote another bat file "ftp.bat" as below.
ftp -n -s:C:\Users\Naga\Desktop\ftp1.txt IP_ADDRESS
but... (2 Replies)
Discussion started by: Naga06
2 Replies
LEARN ABOUT SUNOS
package-appclient
package-appclient(1M) Application Server Utility package-appclient(1M)
NAME
package-appclient - packs the application client container libraries and jar files
SYNOPSIS
package-appclient
Use the package-appclient command to pack the application client container libraries and jar files into an appclient.jar file. The created
file is located at appserver_install_dir/lib/appclient/appclient.jar. The appclient.jar file provides an application client container
package targeted at remote hosts that do not contain a server installation.
The appclient.jar archive contains native code and can be used on a target machine that is of similar architecture as the machine where it
was produced. So, for example, an appclient.jar produced on a Solaris SPARC platform cannot be used on a Windows client machine.
After copying the appclient.jar file to a remote location, unjar it to get a set of libraries and jar files in the appclient directory
After unjarring on the client machine, modify appclient_install_dir/config/asenv.conf (asenv.bat for Windows) as follows:
o set AS_WEBSERVICES_LIB to appclient_install_dir/lib
o set AS_NSS to appclient_install_dir/lib (appclient_install_dirin for Windows)
o set AS_IMQ_LIB to appclient_install_dir/imq/lib
o set AS_INSTALL to appclient_install_dir
o set AS_JAVA to your JDK 1.4 home directory
o set AS_ACC_CONFIG to appclient_install_dir/config/sun-acc.xml
Modify appclient_install_dir/config/sun-acc.xml as follows:
o Ensure the DOCTYPE file references appclient_install_dir/lib/dtds
o Ensure that target-server address attribute refrences the server machine.
o Ensure that target-server port attribute refrences the ORB port on the remote machine.
o Ensure that log-service references a log file; if the user wants to put log messages to a log file.
Modify appclient_install_dir/bin/appclient (appclient.bat for Windows) as follows:
o change token %CONFIG_HOME% to appclient_install_dir/config
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
appclient(1M)
Sun Java System Application Server March 2004 package-appclient(1M)