10-19-2007
help needed to connect to windows from unix and run .bat file
Hi
Can anyone tell if it is possible to connect from Unix to t a remote windows environment and run a .bat script.
Do SSH/SFTP... serve my purpose..if s how....
if not which commands or scripts will help with my requiremnt.
points on this are greatly honoured.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
i am using HP-UX and trying to write some scripting codes but i have to connect to windows and display the contents of a particular directory(in windows). how do i do it.?
Could anyone please help me regarding this !!
Thanks & Regards
guhas (2 Replies)
Discussion started by: guhas
2 Replies
2. 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
3. Windows & DOS: Issues & Discussions
Hello,
Is there a way to trigger a Windows bat file or program on a different machine from a different UNIX server using KSC file?
I hope you can assist me with this.
Thanks! (0 Replies)
Discussion started by: punyenye
0 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change:
I'd like to make a batch file which would connect to... (7 Replies)
Discussion started by: olgafb
7 Replies
5. 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
6. Windows & DOS: Issues & Discussions
I'm trying to open multiple IE windows and enter the same text and press <enter> on each. Here's an example with what I have so far.
REM Open
@echo on
start http://10.1.1.1
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password
start http://10.1.1.2
ping 1.1.1.1 -n 5 -w 1000 >nul
@echo password... (2 Replies)
Discussion started by: Pitt
2 Replies
7. Windows & DOS: Issues & Discussions
Hi,
i am trying to connect to unix server from windows bat file using telnet command. But bat file is unable to pass username and password hence could not login to UNIX.
My requirement is to connect UNIX server from .bat file and run few macros at a perticular schedule. My UNIX login does... (1 Reply)
Discussion started by: rahulbahulekar
1 Replies
8. UNIX for Advanced & Expert Users
Hope someone can help. I have 5 Unix Tru64 ver 4.0/5.1B, boxes and I'm trying to connect and run CDE session from my PC. I have tried using Reflections, and Xming with no luck. Can someone tell me what exactly needs to be running on the Tru64 boxes in order for this to work. Along with what or how... (4 Replies)
Discussion started by: Troberts50
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. Windows & DOS: Issues & Discussions
How can I start an application sitting on a windows machine (XP) from Unix shell script (AIX server) ? (6 Replies)
Discussion started by: pkan
6 Replies
rlprd(8) UNIX Reference Manual rlprd(8)
NAME
rlprd - remote printing proxy daemon
SYNOPSIS
rlprd [-nqV] [-pport] [-ttimeout] [--debug]
DESCRIPTION
rlprd is a proxy which runs between the remote printing commands (rlpr(1), rlpq(1), and rlprm(1)) and standard lpd print servers in situa-
tions where the remote printing commands cannot be installed setuid root. For a discussion on how to configure the remote printing com-
mands, please see rlpr(1).
rlprd needs to be installed setuid root - if it cannot be run this way, it is useless.
rlprd works by mapping non-privileged port requests from rlpr(1) clients to privileged ports so that lpd's will listen to them. Eliminat-
ing the "security" gained by having privileged ports is a non-issue, since the Internet is no longer just Unix, and Unix is the only OS
that has the privileged port concept.
rlprd is not a replacement for lpd(8). It merely passes data to a lpd(8) on a target machine (which is specified by an invocation of a
remote printing command). However, when a client is using the rlpr suite of tools to do remote printing, the client does not need to run
an lpd(8) locally.
Note that once an rlprd is set up on a network (including the Internet), any host may connect to it and use its proxy services if it knows
the name of the machine running it.
OPTIONS
--debug
Print gobs of debugging information.
-n, --no-daemon
Don't run rlprd as a daemon. Usually not needed.
-p, --port=number
Select an alternate port (instead of 7290) to listen on. Usually not needed.
-q, --quiet, --silent
Quiet mode - stay quiet (except for fatal errors).
-t --timeout=seconds
Set the inactivity timer. If the connection hangs for more than seconds seconds, then rlprd will time out the connection. Use the
special value `-1' to wait forever. Default timeout is 3 seconds.
-V, --version
Print version and exit.
SEE ALSO
rlpr(1), rlpq(1), rlprm(1), rlprrc(5)
AUTHOR
meem <meem@gnu.org>
BUGS
/LIMITATIONS
It is not currently possible to run rlprd from inetd(8).
rlpr 2.04 1999/10/28 rlprd(8)