Skip to content

It is simple command line tool for increasing prodouctivity. In windows there are not easy commands to play with file So this can do it !!!

License

Notifications You must be signed in to change notification settings

bishwo-dahal/file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File.exe in c++

Simple command line tool for playing with files! As windows doesn't provide good tool So this will allow you to use file

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 Summary

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

Commands with Description

file create *.*

This will create file in the current directory. You can create as many files as you want.

Arguments:

-b : It means with boilerplate. It has support to some commonly used extensions (11 boiler plates)

    file create a.cpp hello.vue

file open *.*

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

file size *.*

This will create file in the current directory. You can create as many files as you want.

Arguments:

-b : In Bytes

-kb : In Kilo Bytes

-mb : In Mega Bytes

-gb : In Giga Bytes

    file size a.cpp  hello.exe

file insert *.*

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

file rename *.*

As the name suggests you can rename files using this command.

    file rename oldfile.cpp newfile.cpp

file delete *.*

This will delete file in the current directory. Any no. of parameters are allowed

    file delete a.cpp 

About

It is simple command line tool for increasing prodouctivity. In windows there are not easy commands to play with file So this can do it !!!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages