Page 1 of 2 12>
Topic Options
#91758 - 2003-03-15 01:46 PM FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Returns the PCs with the file and it's version
has progressbar and export to 'file'.csv on desktop.

 -

updated code at http://www.wheelerfam.com/Documents/FileFinder.kix

8/30/2003

[ 30. August 2003, 14:28: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91759 - 2003-03-15 02:28 PM Re: FileFinder - Kform app to find files on remote PCs
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Conrad,

Suggestion for Version compare :

Isn't it better to use .Build property of the already created KiXforms object ?

sample :



$ReqForms = 38
$Kix      = substr(@kix,1,4)

if $Kix < "4.20" ;appropriate KiXtart version ?
    $ = messagebox('This Script requires at least KiXtart 4.20 ','Version Check',4112)
    quit()
endif

$frm = createobject("Kixtart.Form")

if  @error   ;dll registered ?
    $ = messagebox('This Script requires a copy of kixforms.dll (build '
           + $ReqForms + ') registered' ,'Version Check',4112)
    quit()
endif

if val($frm.Build) < $ReqForms ; required build registered ?
    $ = messagebox('This Script requires Kixforms build ' + $ReqForms,'Version check',4112)
    quit()
endif

_________________________



Top
#91760 - 2003-03-15 02:41 PM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
well... this way I can copy in a new version before creating the form if necessary.

VersionCompare() is a bit large however
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91761 - 2003-03-15 02:46 PM Re: FileFinder - Kform app to find files on remote PCs
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh yeah !

Last Function [Roll Eyes]

I (again) read over that ...

Hmmm ... So I won't run your script as it would register an old version of kixforms.dll [Razz]

[ 15. March 2003, 14:49: Message edited by: jpols ]
_________________________



Top
#91762 - 2003-03-15 02:51 PM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
"<", "2.2.0.37")

looks for less than... newer versions are fine
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91763 - 2003-03-15 02:57 PM Re: FileFinder - Kform app to find files on remote PCs
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
again sorry ...

Maybe a last try [Wink]

I got a folder called Kixforms with subfolders form build 4 to 38 and always copy the latest version to %SystemRoot%\System32\ without re-registering ...

I won't cry 'inconsistency pitfall' out loud now but maybe a whisper ? [Big Grin]

[ 15. March 2003, 15:00: Message edited by: jpols ]
_________________________



Top
#91764 - 2003-03-15 03:08 PM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
it gets the file version vrom versioncompare() if the version is less than the minimum required it copies in the newest from a source dir.

it then tried to create the form, if it errors it tries to register it and loops

it should be no problem if kforms is backward compatable...

all of this, and it is ancillary to the script itself... [Big Grin]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91765 - 2003-03-15 03:11 PM Re: FileFinder - Kform app to find files on remote PCs
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
it is backwards compatible ... Well, ok not that consistently [Wink]

Still you should consider the form creation to be checked for first and NOT give any path restrictively

Then I may consider to test it [Razz]
_________________________



Top
#91766 - 2003-08-28 11:40 AM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
updated version to operate on IP Subnets instead of OUs
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91767 - 2003-08-30 07:44 AM Re: FileFinder - Kform app to find files on remote PCs
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Conrad,

Ran this on our doamin and only found two machines that had IE installed? Also, did not get a file version..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#91768 - 2003-08-30 02:15 PM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
did you want the AD or IP version?

Make sure you have the latest kixforms as well
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91769 - 2003-08-30 02:32 PM Re: FileFinder - Kform app to find files on remote PCs
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
AD. I have installed the latest version of KF from KFORG.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#91770 - 2003-08-30 02:40 PM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I just uploaded the latest version of filefinder to my website.. see post 1 for the link

the picture was taken about 10 minutes ago.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91771 - 2003-08-30 04:45 PM Re: FileFinder - Kform app to find files on remote PCs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, when is gonna come out the PRO version that needs only the filename?
and which supports nonAD networks?
_________________________
!

download KiXnet

Top
#91772 - 2003-08-30 10:57 PM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I have the IP version that scans subnets.. but you have to hard code the subnets.

If you want it to scan an entire remote HD, it will take quite a long time...

I probably could work it up as a remote process, and check back from time to time to see if it complete.

Is that basically what you wanted...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91773 - 2003-08-31 12:34 AM Re: FileFinder - Kform app to find files on remote PCs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ja, remoteprocess.
don't want to hog up the cpu.

as it goes on, the remote-process would write to file or yet better, to registry what it has found.

instead of ip, think for NT domains it would be better to rock with computerlist from NET or WINS as the IP way is rather slow (tested and proved)

[ 31. August 2003, 00:35: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#91774 - 2003-08-31 04:24 AM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
how would you descriminate for computers in remote sites...

Say you have 10 or more sites and a hundred or more PCs at each. A net computer or whatever would generate a list of PC across all these sites.

a WOL routine would also be convenient...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91775 - 2003-08-31 04:45 AM Re: FileFinder - Kform app to find files on remote PCs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
dunno what is the way.
but know that IP is not.
hardcoding the server for the addies is one.

but even simple 0.0.0.xxx sweep takes minutes to complete even though you use the multi-threading I developed some time ago.
_________________________
!

download KiXnet

Top
#91776 - 2003-08-31 04:53 AM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I can't see anyway of doing it easily... without some external control file.

So it would have to be:
AD OUs
IP Subnets
Alphabetically
read from external INI/TXT file
read from external source (like DHCP or SMS or WINS server)

None of which is a one-size-fits-all solution...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#91777 - 2003-08-31 04:55 AM Re: FileFinder - Kform app to find files on remote PCs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
so... I think whay we need is an efficient, multi threaded pinger routine... perhaps using a 3rd party EXE or DLL
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 2 12>


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 611 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.076 seconds in which 0.027 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org