Hello forums!

I'm in need of some assistance.
I'm creating a project that looks for a particular process "Engine.exe".

If the process is running, it moves certain files.
So, I'm looking for help generating a script that constantly looks for this process.

I ran into this script:
Code:
For Each myprocess In Process.GetProcesses
            If myprocess.MainWindowTitle.Contains("Engine") Then
'what you want here

            End If

        Next
It isn't really what I was looking for.
So if any of you can help me with this.

It would be GREATLY appreciated.



P.S I'm also looking to know how to do this:
Let's say I put the .exe of my program into a certain folder.
I then use the 'Application.StartupPath' code to find where it is.

But how would I use this to move certain files in this folder?
I can't use a simple move command because the path varies.