Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 168 Bytes
$shortcutName="cmd"
$desktopDir=$([Environment]::GetFolderPath("Desktop"))
if (Test-Path -Path $(Join-Path $desktopDir "$shortcutName.lnk")){
Write-Output "0"
}
You can’t perform that action at this time.