How to make executable folder | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make executable folder

I want to make an app that can be easily transported and used without any intallation required. Is there any way to make folder execute some script when opened?

4th Feb 2020, 7:48 PM
Tomáš David
Tomáš David - avatar
7 Answers
+ 2
Windows doesn't offer that functionality because it's unsafe and really dumb. There's a possibility to make a program running in the background, reading the state of the explorer.exe process, checking if a certain folder is open and run some code once. That'd be extremely hard to do and would most likely get picked up by AV's. So no, don't do that. It's a bad idea anyway
4th Feb 2020, 9:50 PM
inxanedev!
inxanedev! - avatar
+ 1
maybe geeks need to start working on that Jan Markus, Tomáš David have you try to Google this???
4th Feb 2020, 7:52 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
I don't mean you Jan Markus
4th Feb 2020, 8:00 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
definitely Jan Markus my English writing seem terrible to me too, maybe its time i improve on it and don't take my writing on sololearn like on chat
4th Feb 2020, 8:24 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
You can hide the executable an make a shortcut with as icon a folder this way it looks like a folder and when you open it the executable opens
5th Feb 2020, 6:52 PM
Scripting_boom
Scripting_boom - avatar
0
Scripting_boom i dont want to make file like a folder, but folder like file. I need to have multiple files in one and to run one of them when you try to open it
5th Feb 2020, 7:15 PM
Tomáš David
Tomáš David - avatar
0
In 90s there used to be program like you mentioned, magicwind or something like that. only worked on windose.
6th Feb 2020, 5:24 PM
\•/
\•/ - avatar