This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
win:sendto_startup [2018/05/27 20:51] derek created |
win:sendto_startup [2024/09/22 19:51] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
=====Sendto Startup===== | =====Sendto Startup===== | ||
- | |||
Add the ability to add a program to the Startup folder using the SendTo context menu. | Add the ability to add a program to the Startup folder using the SendTo context menu. | ||
- | Save the following code somewhere: | + | ====Setup==== |
- | <code powershell Startup.ps1> | + | * Navigate to '' |
- | param([System.IO.FileInfo]$Path) | + | * Save [[https:// |
- | $Name = Split-Path -Path $Path -leaf | + | * Right-Click > '' |
- | $Shell | + | * '' |
- | $ShortCut | + | * '' |
- | $ShortCut.TargetPath | + | * Right-Click |
- | $ShortCut.Save() | + | |
- | </ | + | |
- | + | ||
- | Then create a shortcut in: '' | + | |
- | + | ||
- | Note: Can save the '' | + |