Skip navigation

JSI Tip 1435. How do I create a zero length file in a batch?

Use a statement similar to:

type nul > Drive:\Folder\Filename.Extension

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.