Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotblueshoes/newfile
WinAPI application that helps with the creation of new files with a specified extension.
https://github.com/dotblueshoes/newfile
file winapi
Last synced: 9 days ago
JSON representation
WinAPI application that helps with the creation of new files with a specified extension.
- Host: GitHub
- URL: https://github.com/dotblueshoes/newfile
- Owner: dotBlueShoes
- License: mit
- Created: 2024-09-17T14:33:19.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-09-17T19:17:59.000Z (2 months ago)
- Last Synced: 2024-09-17T23:50:51.954Z (2 months ago)
- Topics: file, winapi
- Language: C++
- Homepage:
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NewFile
Small *windows* application that simply creates a new file. It's meant to be run from within the RIGHT-CLICK-CONTEXT-MENU.This is an old project of mine from around 2018-2019. My educational goal was to create a dialog-only application.
During this process I wanted to learn more about WinAPI subclasses, resources & manifest files.
![alt text](https://github.com/dotBlueShoes/NewFile/blob/master/extras/media1.png?raw=true)
> *Weirdly I use this app almost everyday to create files on the fly.*
---
I run this application from within RIGHT-CLICK-CONTEXT-MENU property I've created years ago.
Eventually i will be placing a tutorial or an app that does exactly that here but for now I simply recomend searching and editing it by yourself.
It basically involves creating a few properties in the Windows registry.
---
I recommend the use of **arrow-keys** and **enter-key** *(when done)* when in dialog popup.
Writing in `Extension Name` field is not necessary. For Example if you want to create a file named `.gitignore` you'll type all that in `File Name` property
---
### Initialize CMAKE from CMD
`.quail/cmake_refresh.bat '[PROJECT_DIR]' '[VCVARSALL_DIR]'`
### Build Profile from CMD
`.quail/build.bat '[PROJECT_DIR]' '[VCVARSALL_DIR]' 'x64-win-debug'`
`.quail/build.bat '[PROJECT_DIR]' '[VCVARSALL_DIR]' 'x64-win-release'`
### Run from CMD
`.quail/exe_with_res.ps1 '[PROJECT_DIR]\build\x64-win-debug\project\' 'NewFile'`
`.quail/exe_with_res.ps1 '[PROJECT_DIR]\build\x64-win-release\project\' 'NewFile'`