Thank you for the rapid response.
C:\WINDOWS\system32>fsutil 8dot3name query d:
The volume state is: 1 (8dot3 name creation is disabled).
The registry state is: 2 (Per volume setting - the default).
Based on the above two settings, 8dot3 name creation is disabled on d:
I guess using $shortfn() these days is really not a 'best practice' anymore and we should probably instead encapsulate paths with quotes. Right?