Simple command line tool for playing with files! As windows doesn't provide good tool So this will allow you to use file
Place the file.exe to any place
I recommend to save files in C:\Custom command
Add the path to Path Variable (If you don't know Google It) Now open your cmd and enter
file --v
This will return you the version of file
Commands | Description |
---|---|
file create | Create file |
file open | Open file |
file size | Display size of file |
file insert | Insert content into file |
file rename | Rename the file |
file delete | Delete the file |
This will create file in the current directory. You can create as many files as you want.
-b
: It means with boilerplate. It has support to some commonly used extensions (11 boiler plates)
file create a.cpp hello.vue
This will open file in the current directory. You can open as many files as you want in same command.
file open a.cpp hello.vue
This will create file in the current directory. You can create as many files as you want.
-b
: In Bytes
-kb
: In Kilo Bytes
-mb
: In Mega Bytes
-gb
: In Giga Bytes
file size a.cpp hello.exe
This will allow you to insert texts in the file. If file is not present Then It will prompt you to create or not
Press CTRL + Z and then Enter to close the file
file insert a.cpp hello.vue
As the name suggests you can rename files using this command.
file rename oldfile.cpp newfile.cpp
This will delete file in the current directory. Any no. of parameters are allowed
file delete a.cpp