|
|
 |  |
Re: workaround for windows 256 character limitation to telnet scripts..?From: Frank Date: Friday, May 14, 1999
Time: 9:32:50 amWorkaround #1
do what i do <Grin>
Make all the actual scripting on the Flavor of your choice , ASP PERL SHell
then pass only the neccessary info <> <><><><> not actuall commands
your script will read from $ARGV[1] $ARGV[2] etc..
and do the job... hmmm maybe its a bit confusing....
ex...
OG server setup ----
word: xxxxx
$ ./script <Login> <PasS> <Phone>
not
$ ./adduser -batch <login> <pass> group etc blah blah /bin/csh
so you get you script like
#!/bin/sh
$Login = $ARGV[0];$Pass = $ARGV[1];$phone = $ARGV[2];
@mycall = "./adduser -silent -batch $Login $Pass $Phone Group /homedir?
/shell? ";
system @mycall;
At 11:05 PM 5/13/99 -0700, you wrote:
>Matt Lemsing wrote:
>
>>anyone know a workaround to the 256 character limitation in windows when
>>it come to telnet scripts...?
>
>I haven't found one. It's a limitation of the OS.
>
>You can use a Mac I guess. {shrug} Or you can shorten the wait side of
>things...
>
> - Shawn
>
>-------------------------------
>Shawn D. Hogan
>President, Digital Point Solutions
>http://www.digitalpoint.com
>(619) 452-3696
>
>
>-------------------------------------------
>To subscribe, unsubscribe and list archive
>please visit http://www.optigold.com/lists
>-------------------------------------------
-------------------------------------------
To subscribe, unsubscribe and list archive
please visit http://www.optigold.com/lists
-------------------------------------------
|

Return to Digital Point Solutions' Home Page |