Search found 4 matches

by Cap'nKirk
25 Jan 2014 09:33
Forum: DOS Batch Forum
Topic: Remove Time Element From File Creation Date
Replies: 5
Views: 2285

Re: Remove Time Element From File Creation Date

I do not know where to place the snippet that you posted. Always and only on the right place: @ECHO OFF &SETLOCAL (FOR /f "delims=" %%a IN ('dir /b /a-d /s /n "C:\Documents and Settings\All Users\Documents\My Pictures\Pics & Vids"') DO ( FOR /f "tokens=1-3*" %%...
by Cap'nKirk
24 Jan 2014 07:41
Forum: DOS Batch Forum
Topic: Remove Time Element From File Creation Date
Replies: 5
Views: 2285

Re: Remove Time Element From File Creation Date

Another for loop, may help you: for %%a in (z.txt) do for /F %%A in ("%%~ta") do echo %%A penpen Sorry penpen, I couldn't seem to get that to work. As I am now infront of my PC, ere the whole code that I have: @ECHO OFF &SETLOCAL (FOR /f "delims=" %%a IN ('dir /b /a-d /s /n ...
by Cap'nKirk
22 Jan 2014 04:45
Forum: DOS Batch Forum
Topic: Remove Time Element From File Creation Date
Replies: 5
Views: 2285

Re: Remove Time Element From File Creation Date

Thanks for the reply.

As soon as I am back infront of my PC I'll give it a try
by Cap'nKirk
22 Jan 2014 03:49
Forum: DOS Batch Forum
Topic: Remove Time Element From File Creation Date
Replies: 5
Views: 2285

Remove Time Element From File Creation Date

Hi, I have a batch file that outputs a list of files in a directory along with their creation and modification dates. Unfortunately the creation date also includes the time which for my needs is not necessary and I am trying to remove this element but without luck. The variable for the Creation Date...