rajeshkumar created the topic: Create a txt file using batch file in a specific folder
@echo off
echo.>”d:\testing\dblank.txt”
This creates a file containing a blank line (CR + LF = 2 bytes).
If you want the file empty (0 bytes)
@echo off
break>”d:\testing\dblank.txt”
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
Latest posts by Rajesh Kumar (see all)
- How to save 80% of the Treatment Cost using Medical Tourism? - January 13, 2025
- Best AI tools and websites to travel blogger or travel video & audio creator - January 12, 2025
- Deep Dive & Troubleshoot using Kubernetes logs & its Structure & Location - January 12, 2025