Creating keyboard shortcut to a batch file
I've looked for a way to lock my computer, although I don't want any password for my user :)
Shutting down the task explorer.exe does give me the effect I want because the computer is kinda hard to use.
So I've created a batch file with "taskkill /f /im explorer.exe", and here comes the tricky part, you can't create a keyboard shortcut to a batch file.
So I've created a shortcut to the batch file and added a keyboard shortcut to the shortcut, still with me?
Pressing my custom keyboard shortcut "ctrl+Alt+L" worked one time and then it didn't work :|
As it turns out you can only create keyboard shortcuts for .exe files.
Somebody got an Idea how to solve the problem (in short terms shutting down the explorer.exe task with a keyboard shortcut without needing to download a program)?
I do got codeblocks so writing a short c++ program might work? Althought don't know how..
Help appreciated :)