Windows XP Output Date Created and Date Modified to a txt file using a batch file

Sep 12, 2009
Reaction score
Can anyone help me please.
I want to create a batch file that will display both the date modified and date created of some folders including its subfolders and files and output the result to a txt file.
This is what I made but it does not show both the date modified and date created.

@echo off

rem echo. ------------------------ DATE CREATED & DATE MODIFIED------------------------ >> "C:\Documents and Settings\administrator\Desktop\dir.txt"

dir /t:c /t:w /s /q "C:\Documents and Settings\administrator\Desktop\fileinfo_test" >> "C:\Documents and Settings\administrator\Desktop\dir.txt"

can somebody help me please.
thank you very much in advance..



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows XP Going away need to create Batch file 5
Windows XP WinRar batch file? 0
Windows XP Batch file editing 0
Windows XP Modify file header 0
Windows XP LUA Script in a Batch File 1
Windows XP IP configuration "Netsh" batch file problem ! 1
Windows XP Right mouse button new txt file and Windows Explorer issue 0
Windows XP simple ftp batch ?? 0