Skip to content

Unhandled exception while pressing "Quick build custom shortcut" #434

@coteyka1209

Description

@coteyka1209

Logs:

TileIconifier Version: v3.1.1.2 - x64
OS Version: 10.0.26100.0 - x64
Administrator?: Yes

System.IO.FileNotFoundException: The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)
   at IWshRuntimeLibrary.IWshShortcut.Save()
   at TileIconifier.Core.Utilities.ShortcutUtils.CreateLnkFile(String shortcutPath, String targetPath, String description, String workingDirectory, String iconPath) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Utilities\ShortcutUtils.cs:line 113
   at TileIconifier.Core.Custom.Builder.BaseCustomShortcutBuilder.Build(CustomShortcut customShortcut, Image iconImage) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\Builder\BaseCustomShortcutBuilder.cs:line 103
   at TileIconifier.Core.Custom.Builder.BaseCustomShortcutBuilder.GenerateCustomShortcut(String shortcutName) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\Builder\BaseCustomShortcutBuilder.cs:line 65
   at TileIconifier.Forms.Main.FrmMain.btnBuildCustomShortcut_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at TileIconifier.Program.Main()

OS Version: Windows 11 Pro 24H2, OS Build 26100.1742
I pressed "Quick Build Custom Shortcut" button while "Component Services" was selected, pressed OK and it crashed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions