Win+Run with (extremely) shortened names.
- Windows (Later than 7)
- PowerShell (Windows 7 has already included it)
- Download the zip archieve and unzip
- Goto the unzipped folder
- Rename
linkmaintenance.exampletolinkmaintenance - Open PowerShell with Administrator
cdto the unzipped folder- Type
Set-ExecutionPolicy RemoteSigned; .\addPath.ps1; .\do.ps1and enter
Later, you can put more lnk files in linkmaintenance and add to linkmaintenance\rules\rules.txt and run .\do.ps1 again.
- Get a copy of this repository. Two ways in general:
- Download the zip archieve and unzip
- (Another way if you have git)
git clone https://github.com/no1xsyzy/winrunner.git
- Configure
settings.conf. Entries explained:corerule: absolute or relative path to the core rule file (explained below)from: contains links with friendly long nameto: will contain links with short namelegacy: old link files with short name, kept in case
- Put your
.lnkfiles to the path configured asfrom - Configure rule files to point to your lnk files.
- Allow PowerShell to execute scripts.
- Open PowerShell with Administrator
- Type
Set-ExecutionPolicy RemoteSignedand enter.
- Add the path configured as
toin environmentpath. Two ways:- Run
.\addPath.ps1as Administrator - Edit with System Properties dialog
- Run
- Run
.\do.ps1 - Enjoy the amazing speed
- You can put more lnk files and run
.\do.ps1again (Administrator not required iftois not in critical path)
The core rule file is the main entry of all rule files is required in it.
~will change the source destination (relative to current destination). It will persist in this file and later included files.!will include another file.- otherwise,
|will split shortened name and long name. It is possible to add several shortened name splitted with;
See files in linkmaintenance.example/rules for example
For bugs & feature requests, just raise issue.
If you would like to work on that, start a PR and mark as [WIP] (to tell others it has been working on).