# fs/tmp-path
Resolve a path inside the per-process scratch directory.
With no args: returns the scratch dir (same as `fs/tmp-dir`).
With one arg: returns `<tmp-dir>/<file>`.
## Syntax
[fs/tmp-path ?$file]
## Parameters
- `$file` — optional file name to join onto the scratch dir
## Examples
[fs/tmp-path] # /tmp/deft-<pid> [fs/tmp-path "debug.log"] # /tmp/deft-<pid>/debug.log
## Returns
String path.
## See Also
`fs/tmp-dir`, `fs/join`