SyntaxFix
Write A Post
Hire A Developer
Questions
@Keith,
here another option:
PS II> $f="C:\Downloads\ReSharperSetup.7.0.97.60.msi" PS II> $f.split('\')[-1] -replace '\.\w+$' PS II> $f.Substring(0,$f.LastIndexOf('.')).split('\')[-1]