Is there any command get all the properties of a file including its encoding format (this piece of information is really important to me) on Windows ? I'm looking for something similar to stat in Linux
I'd prefer using a command that can be used in command-prompt or a batch script although I know its possible with Powershell.
Best Answer
You can use WMIC feature to do that.
For example :
to get all information about anyfile.txt. You can use CMD and powershell too to using WMIC. And you can use GET parameter to get a specified information.
For Example:
EDIT : Try using this before to check the WMIC functionality :
To get a help how to using it.
Command :
Output in eko_wmic.txt:
Hope this'll help you out..