I have

C:\folder\tail.exe

C:\logs\logfile.log

C:\script\shellscript.ps1

How do I run the C:\folder\tail.exe from within the C:\script\shellscript.ps1

I need to run "C:\folder\tailf.exe C:\logs\logfile.log" from within C:\script\shellscript.ps1 but without relying a seperate batch file, i need to call it directly.

Normally I do: cd C:\folder\ and then tailf.exe C:\logs\logfile.log

Inside C:\script\shellscript.ps1 I tried

```
start-process C:\fetchmail\tail.exe -argumentlist "C:\fetchmail\logs\fetchmail.log"

```

i can see a window flashing but dont know if it works, the window should stay open.