Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Replacing many files with zero-bytes clone ?

Featured Replies

Hi, does someone know a dos command, script, software that can help me replace a bunch of file in a directory with file with the same name but empty ones ? (zero bytes)

Any help appreciated


Saving an empty text file in notepad will produce a zero byte file which you can rename to whatever filename you'd like.

  • Author

I know, but how to do it with multiple files ?

I got a messy solution but it will work :)

Use a program like DirLister or LS to export a list of the filenames you need to create empty clones of.

Use Excel or any spreadsheet and paste "copy nul" or "type nul >"into a cell and fill it down the column the same number of files you are going to need. Then import that list into the next column. Concatenate and then copy paste that into a bat file. For Example:

create_empty_files.bat

copy nul name1.ext
copy nul name2.ext
copy nul name3.ext
copy nul name4.ext
copy nul name5.ext

Try this bat file

empty_files.bat

for %%f in (*.txt;*.exe) do copy nul "%%f"

You can change (*.txt;*.exe) to something else, for example (*.*) if you want this to work for all files

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.