I have log file abcd.log file of around 2GB of size, I need to keep latest contents of only 200MB size and delete previous contents by using Windows in-built tool/ command line only.
What I found is to totally truncate the file by copy, echo or touch command but these are not for my requirement.