Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 32
Search took 0.00 seconds.
Search: Posts Made By: _raindrop18
Forum: Scripting 11-20-2012, 01:04 PM
Replies: 4
Views: 2,604
Posted By _raindrop18
remove crt.Screen.WaitForString "(Cisco...

remove crt.Screen.WaitForString "(Cisco Controller) >" should work.
Forum: Scripting 09-24-2012, 04:05 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
is working just fine, when I changed to (i) I got...

is working just fine, when I changed to (i) I got error. anyways everything working like a charm. thanks both of you again. I learn a lot.
Forum: Scripting 09-24-2012, 02:01 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
Thumbs up :):):)woohoo!! that's the trick. thanks much...

:):):)woohoo!! that's the trick. thanks much mikit and Brenda for all your time and tireless help!!!
Forum: Scripting 09-24-2012, 12:13 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
some progress :) the first device connected...

some progress :)

the first device connected and run the command properly but when it's going to the next device I got the following error..




so didn't go to the next device.
Forum: Scripting 09-24-2012, 11:33 AM
Replies: 18
Views: 7,739
Posted By _raindrop18
thanks. unfortunately still I got . here is...

thanks. unfortunately still I got .

here is the updated script : did I miss anything you have said?

#$language = "VBScript"
#$interface = "1.0"
Sub Main

Set g_shell =...
Forum: Scripting 09-24-2012, 08:43 AM
Replies: 18
Views: 7,739
Posted By _raindrop18
thank you so much all for the time and help to...

thank you so much all for the time and help to make easy I have posted my original script which is working just fine for devices with regular ssh port 22.
my objective is this script to work with...
Forum: Scripting 09-21-2012, 04:06 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
thanks so where I should close these loops? now I...

thanks so where I should close these loops? now I got the error "expected statement" END sub. my script close as follow


' send exit command to exit from the device
crt.Screen.Send "exit" &...
Forum: Scripting 09-21-2012, 03:22 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
I am using vb script, I have another loop for the...

I am using vb script, I have another loop for the device and conflict with this one not sure how I can solve that.


'First loop for device list
For i=0 to Ubound(vDevices)
vFields...
Forum: Scripting 09-21-2012, 01:47 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
thanks so much for quick response. quick follow...

thanks so much for quick response. quick follow up question I have if you have a min. is that possible to run script to different ssh port? ex- i have 10 devices with port number 4001-4010. so I want...
Forum: Scripting 09-21-2012, 01:34 PM
Replies: 18
Views: 7,739
Posted By _raindrop18
login with non regular ssh port

I have a script login via ssh port 22 and I want to change to change the script to login none regular port 4000. how I can do that. my current code is as follow.



thanks
Forum: Scripting 03-21-2012, 11:35 AM
Replies: 15
Views: 5,139
Posted By _raindrop18
ok I got it finally,:) thank you so very much for...

ok I got it finally,:) thank you so very much for your time and patence. I am really apperciated.
Forum: Scripting 03-20-2012, 04:22 PM
Replies: 15
Views: 5,139
Posted By _raindrop18
thanks i have corrected based on your suggestion....

thanks i have corrected based on your suggestion.


the problem appers to be ok now, the only issue remain..the script only read only the first line from new_user.txt file. I know I missed...
Forum: Scripting 03-20-2012, 03:09 PM
Replies: 15
Views: 5,139
Posted By _raindrop18
the error gone but the command sent to the device...

the error gone but the command sent to the device looks like this


so the command should on one line but here is on 2 separet lines, so the echo result not saved in user.txt instead just dispaly ...
Forum: Scripting 03-20-2012, 11:18 AM
Replies: 15
Views: 5,139
Posted By _raindrop18
thank you so very much, you are very help full....

thank you so very much, you are very help full. I used your suggestion and work just fine. as you said i prefer the script read the file instead of typing inside the file but spent hours I can't...
Forum: Scripting 03-19-2012, 08:08 PM
Replies: 15
Views: 5,139
Posted By _raindrop18
i have use echo like this on the script and...

i have use echo like this on the script

and work just fine but since i have 50 lines of users list at the time, do you think any way I can list something like


writing the user list...
Forum: Scripting 03-19-2012, 09:59 AM
Replies: 15
Views: 5,139
Posted By _raindrop18
will work to replace the string (public) since...

will work to replace the string (public) since the remote devices are Unix based. but I can't do cat on the remote file since the file need to append is on my local machine which is XP. so ithat is...
Forum: Scripting 03-17-2012, 11:51 AM
Replies: 15
Views: 5,139
Posted By _raindrop18
thanks for the response, let me give you some...

thanks for the response, let me give you some easy example and if i can figure out this i can do the rest. let say I have a file name. user.txt on remote devices and i want to add(append) more users...
Forum: Scripting 03-16-2012, 02:50 PM
Replies: 15
Views: 5,139
Posted By _raindrop18
open a file and write a text on specfic location

I have this text file and I want to insert a snmp community string on a file located on multiple devices

: (system.sysName.0
:value (Unknown)
)...
Forum: Scripting 12-28-2011, 10:31 AM
Replies: 3
Views: 2,421
Posted By _raindrop18
yes it does help!!Thanks so very much.

yes it does help!!Thanks so very much.
Forum: Scripting 12-27-2011, 01:51 PM
Replies: 3
Views: 2,421
Posted By _raindrop18
which line to be read and saved from the out put

I have a script run Cisco commands to the switch. the command run and the out put display correctly. but on saved file 2nd line written and ignore the first line.
here is the line
' command
...
Forum: Scripting 11-16-2011, 03:00 PM
Replies: 5
Views: 3,161
Posted By _raindrop18
thanks so much for your help. it turn out the...

thanks so much for your help. it turn out the "command.txt file created using ms notepad and some reason when CRT read with some weird character. I have created a text file using unix vi then move...
Forum: Scripting 11-16-2011, 11:58 AM
Replies: 5
Views: 3,161
Posted By _raindrop18
Thanks Brenda, yeah that's the first thing i have...

Thanks Brenda, yeah that's the first thing i have checked. the text file only has one line say



when I replace

with actual command


the script just go fine without any error. so the...
Forum: Scripting 11-16-2011, 10:47 AM
Replies: 5
Views: 3,161
Posted By _raindrop18
tilda character(~) show up before the command

I have used this script for long time to get info from Cisico Devices but all of the .sudden stop working. I get this error every time run the script.

so I don't know where ~ came from

this is...
Forum: Scripting 05-05-2011, 09:08 AM
Replies: 19
Views: 21,970
Posted By _raindrop18
I did copy the code and run the script and I am...

I did copy the code and run the script and I am getting this error " bad file name or number on line 147 "
Line 147 is this ..
Set objFile = g_fso.OpenTextFile(strLogFile, ForAppending, True)"
...
Forum: Scripting 05-02-2011, 09:56 AM
Replies: 4
Views: 11,801
Posted By _raindrop18
Both are working thank you so much all for your...

Both are working thank you so much all for your help!!!
Showing results 1 to 25 of 32

 
Forum Jump

All times are GMT -6. The time now is 12:26 PM.