@echo off for /d %%i in (*) do echo %%~nxi %%~ti pause

Solved
Hello,

I would like to create a .bat file that would give me a listing of all folders and subfolders contained in D:/ for example and which would indicate the last modification date of those folders that receive files every day automatically, but I want to ensure this because otherwise I have interventions to make on the equipment.

I searched online but most of the elements I found concern files and creation dates most of the time.

Thank you in advance for your responses!

Configuration: Windows / Chrome 86.0.4240.111

1 answer

  1. Hello,

    Simply put:
    dir /ad D:\


    “Artificial intelligence is defined as the opposite of natural stupidity.”
    1. Thank you for this simple, effective, and quick answer!