Thx PHV,
Your script works if i delete the last line form the sourcefile
the last line out the source file is: "Report generated on Mar 25, 2014 9:09:53 AM"
and needs to be skipped aswell
is this possible in your current example
Thank you for your time
Great that works thx a million jkspeed [peace]
one issue still
the number of lines in the inputfile are variable, but i made the number of lines much higer then it has lines and that works.
but it fails on the first 3 lines and the last line of the inputfile, as those lines are text only and...
I have the following lines in a csv file
server1,server2,6,0,0,100
server1,server2,6,0,0,0
server1,server4,8,9,5,98
server1,server5,8,9,5,100
server1,server6,1,29,8,0
server1,server4,1,29,8,56
etc..
now i only need the unique data of column 2 where column 6 is the numner 0
in a seperate file...
dear readers,
I created a script that , creates an email message and shows it to me, and that works.
after it's shown in outlook 2010 i have to go to options and then to permissions
to disable forwarding for the reciever on that email message before i can send it
( it's a message with...
Thank you both for the help,
guitarzan, that would be mine solution if i tought of that now i saw i tought yeah right.
but going for the solution of Strongm ofcourse :-)
thx guy's
I'm creating a script that creates a folder and copy's data to a share on the server
First i check wich disk has the most free space
then i create the folder and share on that drive with most free space
No i have the following problem , i have 8 drives C, D, E, F, G, H, I, J
The script...
Geates what you say isn't working as it isn't the complete script
i'll post the complete source the textfile grous.txt has the security groups per line
it's a bit messy but it works except for the complete status issue
<html>
<HTA:APPLICATION
APPLICATIONNAME="create Tam Share "
SCROLL="no"...
I made a typo, ofcourse the line needs to be If strserver <> Then
if i fill the textboc with 5 servers it return 0 if i add this
msgbox ubound(arrLines)
arrlines is populated as the complete thing works except it doesn't give a message when all complete
what i want to happen is if the last...
Hi all,
i have the following sub in a hta :
strgroup = Groups.Value
strText = serverTextArea.Value
arrLines = Split(strText, vbCrLf)
For Each strserver in arrLines
If strserver = <> Then
strPingStatus = PingStatus(strserver)
If strPingStatus = "Success" Then...
You set me thinking, and i was in the wrong way ansd place
it had to do with calling the sub
i called it without the correct parameters
needed to set computer while computer was set after the sub
thx for the help and getting me in the right direction PHV
Fantastic :-)
Yes, it's called
the script works standalone as i copied it here
but when i uncomment the "sub adtoshare" and Call adtoshare()
or when i run it standalone with the sub and call directly in it, it doesn't work
what happens nothing happens, no error or something
Just the group mentioned is not added to the remote share
and when i run this script without sub it does add the group to the remote share
Somewhere when i make it a sub it loses arguments it needs in the function is my gueass but can;t...
Hi all,
my first post and first question, hope i can help others as they hopefully gonna help me
the following code is working but i need it to be part of some more code
so it works untill i make it a sub, and can't figure out what argument i'm missing after it's a sub
If someone can help me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.