Skip to content

Windows Bonus Flashy Icons & Registry Enhancements

Cody Tilkins edited this page Feb 26, 2021 · 1 revision

For

  • very superior, flexible functionality
  • flashy icons
  • quips
  • workflow stability and productivity increase
  1. Use resource hacker program (3rd party program) to put an icon into your .exe
  2. Put luaw.exe into C:\Windows\System32 or other place in path, I made a folder called C:\Windows\bin
  3. Edit the registry with the .reg file below. Use at your own discretion. I can't be held accountable for you breaking your system, as registry is pretty delicate. This was written for windows 7, so it may differ in 8/10 but not XP. MAKE SURE YOU UPDATE THE PATHS IN THE REGISTRY FILE TO POINT TO THE EXE.
  4. Add ;.LUA to EXTS env variable so you don't have to type in full name to run the file, eg "run" instead of "run.lua". You can call files like this: res\testing.lua -Dtest=5 -p -n a b c or like this: res\testing -Dtest=5 -p -n abc - similar to running bat files.
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\Applications\luaw.exe]

[HKEY_CURRENT_USER\Software\Classes\Applications\luaw.exe\DefaultIcon]
@="C:\\windows\\System32\\luaw.exe,-1"

[HKEY_CURRENT_USER\Software\Classes\Applications\luaw.exe\shell]

[HKEY_CURRENT_USER\Software\Classes\Applications\luaw.exe\shell\open]

[HKEY_CURRENT_USER\Software\Classes\Applications\luaw.exe\shell\open\command]
@="\"C:\\Windows\\System32\\luaw.exe\" \"%1\" %*"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.lua]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.lua\OpenWithList]
"a"="luaw.exe"
"MRUList"="a"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.lua\UserChoice]
"Progid"="Applications\\luaw.exe"
LuaConsole
License
License
Codecov.io
Codecov
Gitter.im
Gitter.im
Travis-cl
travis-ci
Appveyor
appveyor OFF
Clone this wiki locally