added PDF24

This commit is contained in:
Michael H.G. Schmidt 2022-05-31 20:22:30 +02:00
parent 5646054a46
commit ecf951280e
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,8 @@
$ViewMode=1 $ViewMode=1
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
# Paths for PowerShell commands use the registry Get-PSDrives, hence the ':' # Paths for PowerShell commands use the registry Get-PSDrives, hence the ':'
$src = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes' $src = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
$dst = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes' $dst = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
@ -38,3 +40,5 @@ Get-ChildItem $topViews | % {
# restart explorer ... # restart explorer ...
Get-Process Explorer | Stop-Process Get-Process Explorer | Stop-Process
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -1,5 +1,7 @@
# set recyclebin size to 100 MB for all drives and THIS logged on user ... # set recyclebin size to 100 MB for all drives and THIS logged on user ...
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
$drives=(Get-PSDrive).Name -match '^[a-z]$' $drives=(Get-PSDrive).Name -match '^[a-z]$'
foreach ($Drive in $drives) { foreach ($Drive in $drives) {
@ -18,3 +20,5 @@ foreach ($Drive in $drives) {
} }
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'