Forum Discussion
teemu_selkala
12 years agoOccasional Contributor
Hi,
First of all, happy new year to all those who already celebrated it :). Related to above question my goal initially was that I would filter our from xml log created whether on console window output-stream there is a name of a specific file when I check what all is contained in specific folder.
After that I read stdOut method that I could use for storing stream from console window and I was wondering would there be easier way to handle what I want (=checking whether a specific file name is within a specific folder).
so if I store input from console to something like...
Recset = commandwindow.stdOut
Recset.MoveFirst();
while (Recset ! EOF)
{
if(Recset.Value == "File_I_Want_to_check")
{
Do_actions_I_want_to_do
}
Recset.MoveNext()
}
so would something like this do the trick? Just kind of wondering could I do things easier than currently
Thank you for your help =)
Related Content
- 3 years ago
- 2 months ago