GetRelPath()
ts
// in class: Session
function GetRelPath(): string;
This function returns the relative VFS-root-based path of the last file operation as pointed to by the current VFS.
Example
ts
{
// Let's say the last file operation occurred on file `/docs/resume.pdf`
var rp = Session.GetRelPath();
Log(rp); // Will log `/docs/resume.pdf`
}