Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch File Help  (Read 2375 times)

0 Members and 1 Guest are viewing this topic.

hullxbilly

  • Guest
Batch File Help
« on: October 04, 2005, 07:35:13 AM »
Hi, i need some help with this batch file i am writing. I am new to this.

so far i have this:

@echo off
for /F "skip=4 tokens=1,2" %%i IN ('dir *.ide /O:-D') DO echo %%i %%j

this will return a bunch of dates and times like so:

15/08/2005 16:58
15/08/2005 16:57
15/08/2005 16:57
15/08/2005 16:57
2 File(s)
0 Dir(s)

i want it to just return the first one. any idea's. please