Read PDF in shell

Trying to open Test.pdf, have I missed something.

[code]dim f as FolderItem = SpecialFolder.Applications
dim path as string
dim s as Shell
s = new Shell

path = f.NativePath + “/Octopus Project Manager/Test.pdf”

s.Execute("open -a Preview "+path)[/code]

how about

dim f as folderitem = specialfolder.applications.child("octopus project manager").child("test.pdf")
f.launch

Yep great thanks Dave, that works, not quite sure why I chose the shell route, from memory that method worked in xojo r2017.