Prev: Have group members in wrong format
Next: Can a vbscript identify the program/process that called the sc
From: Paul Randall on 11 Mar 2010 09:38 The link works for me. It brings up a window titled: "Windows Sysinternals: Documentation, downloads and additional resources", which has a horizontal menu line of buttons like: Home Learn Downloads Community Clicking the downloads button gets you to an alphabetic list of each of the individual utilities. I find this much easier than trying to guess which sublink will lead me to the utiity whose name I already know. -Paul Randall "Leon" <kim.zethsen(a)gmail.com> wrote in message news:b676051e-5dc9-49aa-90a5-64a5893284e2(a)y17g2000yqd.googlegroups.com... Hi Pegasus Thanks for the answer - unfortunately the link did't work for me? Cheers On 10 Mar., 20:24, "Pegasus [MVP]" <n...(a)microsoft.com> wrote: > "Leon" <kim.zeth...(a)gmail.com> wrote in message > > news:a3a7c479-ceb2-4c75-a17d-ec5c49f9525d(a)g26g2000yqn.googlegroups.com... > > > > > > > Hi > > > I'm searching through severel servers on in severel folders. > > Want newest file LastModified time stamps. > > > In the folders are files wiht differents filename patterns in (same > > folder) > > so I'm having path in one array and pattern in another array > > > In some folders there are more than 800 files. > > This is very slow over network -up to 5 minutes. > > > When copying these files to c:\temp on local machine its very fast. > > > So what I'm looking for is a faster way to do this. > > Do somebody have that experience? > > > sub TimeStampNewestFile(Fldr,FileNameMask,idx) > > set > > oFolder=createobject("scripting.filesystemobject").getfolder(Fldr) > > for each aFile In oFolder.Files > > If NewestFileInFolder = "" then > > Set NewestFileInFolder = aFile > > else > > if FileNameMask = ucase(left(aFile.name,len(FileNameMask))) > > then > > If aNewestFileInFolder.DateLastModified < > > aFile.DateLastModified Then > > Set NewestFileInFolder = aFile > > m_FileName = aFile > > TimeStampArrayLastModified(idx) = > > aFile.DateLastModified > > end If > > end if > > end If > > next > > end sub > > > Cheers > > Use psexec.exe (www.sysinternals.com) to execute your script locally on > each > machine.- Skjul tekst i anf�rselstegn - > > - Vis tekst i anf�rselstegn -
From: Pegasus [MVP] on 11 Mar 2010 11:14 "Leon" <kim.zethsen(a)gmail.com> wrote in message news:b676051e-5dc9-49aa-90a5-64a5893284e2(a)y17g2000yqd.googlegroups.com... > Hi Pegasus > > Thanks for the answer - unfortunately the link did't work for me? > > Cheers Psexec.exe has been around for many years and it *works*. If it did not work in your case then you did not use it the way it should. If you post your method then someone will tell you what's wrong. Remember to post your error messages too, if any.
From: Bob Barrows on 11 Mar 2010 11:28 Pegasus [MVP] wrote: > "Leon" <kim.zethsen(a)gmail.com> wrote in message > news:b676051e-5dc9-49aa-90a5-64a5893284e2(a)y17g2000yqd.googlegroups.com... >> Hi Pegasus >> >> Thanks for the answer - unfortunately the link did't work for me? >> >> Cheers > > Psexec.exe has been around for many years and it *works*. If it did > not work in your case then you did not use it the way it should. If > you post your method then someone will tell you what's wrong. > Remember to post your error messages too, if any. I think he meant the link you provided to get psexec did not work, not that psexec itself didn't work. -- HTH, Bob Barrows
From: Pegasus [MVP] on 11 Mar 2010 14:51 "Bob Barrows" <reb01501(a)NOyahoo.SPAMcom> wrote in message news:#I7dbfTwKHA.5936(a)TK2MSFTNGP04.phx.gbl... > Pegasus [MVP] wrote: >> "Leon" <kim.zethsen(a)gmail.com> wrote in message >> > news:b676051e-5dc9-49aa-90a5-64a5893284e2(a)y17g2000yqd.googlegroups.com... >>> Hi Pegasus >>> >>> Thanks for the answer - unfortunately the link did't work for me? >>> >>> Cheers >> >> Psexec.exe has been around for many years and it *works*. If it did >> not work in your case then you did not use it the way it should. If >> you post your method then someone will tell you what's wrong. >> Remember to post your error messages too, if any. > > I think he meant the link you provided to get psexec did not work, not > that psexec itself didn't work. > > -- > HTH, > Bob Barrows > I see - I have to mark up my notes. In such cases there is an extremely simple answer. Putting the words download "psexec.exe" into a Google search box will deliver an instant result.
From: Leon on 11 Mar 2010 17:34 Hi guys! Now I was able to hit.. I'll try this out.. Thanks.. The thing is that I want to monitor sererel servers.. and want to run the script on a central pc. så running script remotely does not bring me closer - I think.. Mayby I havent got the clu - I'l invest your suggeston. Thanks for answering! :-) Cheers On 11 Mar., 20:51, "Pegasus [MVP]" <n...(a)microsoft.com> wrote: > "Bob Barrows" <reb01...(a)NOyahoo.SPAMcom> wrote in message > > news:#I7dbfTwKHA.5936(a)TK2MSFTNGP04.phx.gbl... > > > > > > > Pegasus [MVP] wrote: > >> "Leon" <kim.zeth...(a)gmail.com> wrote in message > > >news:b676051e-5dc9-49aa-90a5-64a5893284e2(a)y17g2000yqd.googlegroups.com.... > >>> Hi Pegasus > > >>> Thanks for the answer - unfortunately the link did't work for me? > > >>> Cheers > > >> Psexec.exe has been around for many years and it *works*. If it did > >> not work in your case then you did not use it the way it should. If > >> you post your method then someone will tell you what's wrong. > >> Remember to post your error messages too, if any. > > > I think he meant the link you provided to get psexec did not work, not > > that psexec itself didn't work. > > > -- > > HTH, > > Bob Barrows > > I see - I have to mark up my notes. In such cases there is an extremely > simple answer. Putting the words > > download "psexec.exe" > > into a Google search box will deliver an instant result.- Skjul tekst i anførselstegn - > > - Vis tekst i anførselstegn -
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: Have group members in wrong format Next: Can a vbscript identify the program/process that called the sc |