#91758 - 2003-03-15 01:46 PM
FileFinder - Kform app to find files on remote PCs
|
Radimus
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 ]
|
|
Top
|
|
|
|
#91759 - 2003-03-15 02:28 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Jochen
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
   
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
|
|
Top
|
|
|
|
#91761 - 2003-03-15 02:46 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
#91762 - 2003-03-15 02:51 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
"<", "2.2.0.37")
looks for less than... newer versions are fine
|
|
Top
|
|
|
|
#91763 - 2003-03-15 02:57 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
#91764 - 2003-03-15 03:08 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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...
|
|
Top
|
|
|
|
#91765 - 2003-03-15 03:11 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
#91766 - 2003-08-28 11:40 AM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
updated version to operate on IP Subnets instead of OUs
|
|
Top
|
|
|
|
#91767 - 2003-08-30 07:44 AM
Re: FileFinder - Kform app to find files on remote PCs
|
Kdyer
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
|
|
Top
|
|
|
|
#91768 - 2003-08-30 02:15 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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
|
|
Top
|
|
|
|
#91769 - 2003-08-30 02:32 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
AD. I have installed the latest version of KF from KFORG.
Kent
|
|
Top
|
|
|
|
#91770 - 2003-08-30 02:40 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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.
|
|
Top
|
|
|
|
#91772 - 2003-08-30 10:57 PM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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...
|
|
Top
|
|
|
|
#91774 - 2003-08-31 04:24 AM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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...
|
|
Top
|
|
|
|
#91776 - 2003-08-31 04:53 AM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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...
|
|
Top
|
|
|
|
#91777 - 2003-08-31 04:55 AM
Re: FileFinder - Kform app to find files on remote PCs
|
Radimus
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
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 858 anonymous users online.
|
|
|