Skip to content

Setup.bat creates folder in wrong location  #6

@youwrote

Description

@youwrote

My user name and user folder consists of two words, first and last name. I usually don't work with spaces in system files but it seems I did on my laptop. Anyways, when I am running the setup.bat, the batch file creates a folder with my last name at the download/unzip location instead of the desired location, like so: "C:\Users\Firstname Lastname\Downloads\HotkeyMapper-main\HotkeyMapper-main\Installer\LASTNAME\AppData\Local\HotKeyMapper". I am on a WIN10 (newest) installation (German) on my AMD X13.

I also tried running and configuring via the executable in /resource/ but couldn't achieve any functionality so far. I have FN lock enabled via the BIOS and switched CTRL/FN there as well.

Here is the CMD output when running the setup.bat:
Installing Thinkpad Hotkey Mapper...

Setting environment variables
Changing to current working directory...
Creating Installation Directory at C:\Users\Firstname Lastname\AppData\Local\HotKeyMapper...
Copying main app...
Copying helper executable...
Copying uninstall script...
Creating Start Menu links...
Die Verknüpfung "C:\Users\Firstname Lastname\Start Menu\Programs\HotkeyMapper.lnk" wurde nicht gespeichert.
In Zeile:1 Zeichen:199

  • ... Firstname Lastname\AppData\Local\HotKeyMapper\HotKeyMapper.exe';$s.Save()
  •                                                             ~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:) [], DirectoryNotFoundException
    • FullyQualifiedErrorId : System.IO.DirectoryNotFoundException

Die Verknüpfung "C:\Users\Firstname Lastname\Start Menu\Programs\HotkeyMapper Uninstall.lnk" wurde nicht gespeichert.
In Zeile:1 Zeichen:206

  • ... rs\Firstname Lastname\AppData\Local\HotKeyMapper\uninstall.bat';$s.Save()
  •                                                             ~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:) [], DirectoryNotFoundException
    • FullyQualifiedErrorId : System.IO.DirectoryNotFoundException

Installation complete! You may now delete this folder.

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