Hi everyone,
I am now dealing with an application that will put a shortcut in C:\Documents and Settings\Name\Start Menu\Programs\Startup.
How can I delete or move the shortcut in this directory? Thanks for help.
New: DesktopSnowOK (Jan 6, 2025), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec/Jan!, Please donate today
If the program creates the entry only on install, then there is nothing to worry about and you won't need to handle it.
If it creates the entry while running (or can be created, by the actions of a user for example) then you will need to use something like
[FilesMove]
filename=%USERPROFILE%\Start Menu\Programs\Startup
Hi,
The problems I encounter are that:
1) It is a *.lnk file (shortcut). I tried FileWrite, but when I type the filename as either Name.lnk or simply Name, it still doesn't move. Should I put it in a directories and move the directories directly to %USERPROFILE%\Start Menu\Programs?
2) It seems doesn't work on other Windows in different language. How can I cope with it? In fact it is not a big problem, but it is better to deal with it.
It is Moo0 Transparent Menu. Here is the INI file.
[Launch]
AppName=Moo0TransparentMenuPortable
ProgramExecutable=TransparentMenu\TransparentMenu.exe
ProgramExecutable64=TransparentMenu\TransparentMenu64.exe
SingleAppInstance=true
DirectoryMoveOK=yes
[Activate]
Registry=true
[FilesMove]
Moo0 Transparent Menu 1.18=%USERPROFILE%\Start Menu\Programs\Startup
[RegistryKeys]
HKCU=HKCU\Software\Moo0\Moo0 TransparentMenu
[RegistryCleanupIfEmpty]
1=HKCU\Software\Moo0
Thanks for helping.