Search found 13 matches
- 30 Mar 2012 08:50
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Amazing, thank you ! it works a treat. Thanks for you time and effort, very kind.
- 30 Mar 2012 08:45
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Hi, just running the all-in-one now. I appricate you taking the time with this.
- 30 Mar 2012 07:59
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Thank you. Just run that, its now displaying this :- File Name : "Stuff\Leavers" File Extension : File Size : E:\UserData\*\*\* File Creation Date : Directory of Fully Qualified Path : "E:\UserData\*\*\*\*\*\*" Last-Modified Date : "" I've added * to blank out the folde...
- 30 Mar 2012 00:43
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Hi, here is script one, @echo off for /f "delims=" %%a in ('dir /ad/b/s') do ( pushd "%%a" call "E:\UserData\second.bat" popd ) Which then calls script two, Echo off set flag= for /f "skip=3 tokens=1-3,*" %%a IN ('dir *.mdb *.mde /a-d /tc') do ( if /i "%%...
- 29 Mar 2012 08:17
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
OK the details i see from the above script is what i want, but I want it to scan sub-directories not just the local path. Does that makes sense ? I was using second batch someone supplied on this post, but it doesn't work, doesn't scan the folders for *.mde and *.mdb. basically it just keeps pushing...
- 29 Mar 2012 07:56
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Hi, the problem i'm having is i want the batch file to scan sub-directories. The rest is fine... Echo off set flag= for /f "skip=3 tokens=1-3,*" %%a IN ('dir *.mdb *.mde /a-d /tc' ) do ( if /i "%%d"=="bytes" set flag=1 if not defined flag if not "%%d"=="&...
- 29 Mar 2012 04:23
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Hi, anyone able to help ? Need to do something for work and i'll be so grateful if anyone can help.
- 29 Mar 2012 02:19
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Hi, yes i did. Found the file ok.
- 29 Mar 2012 01:39
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Thanks for your quick reply.
That didn't work, it just kept pushing out file not found.
That didn't work, it just kept pushing out file not found.
- 29 Mar 2012 00:54
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Brilliant, that works great ! set flag= for /f "skip=3 tokens=1-3,*" %%a IN ('dir *.mdb *.mde /a-d /tc /s') do ( if /i "%%d"=="bytes" set flag=1 if not defined flag if not "%%d"=="" ( echo File Name : "%%d" echo File Extension : %%~xd echo ...
- 28 Mar 2012 07:51
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
I wanted date created in there and date modified...if possible with the other bits.
- 28 Mar 2012 07:26
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Re: Batch file help
Hi all, Many thanks, all but works just need to add back in the date last modified then i'm good. echo off set flag= for /f "skip=3 tokens=1-3,*" %%a IN ('dir *.mdb *.mde /a-d /tc /s') do ( if /i "%%d"=="bytes" set flag=1 if not defined flag if not "%%d"==&quo...
- 28 Mar 2012 06:00
- Forum: DOS Batch Forum
- Topic: Batch file help
- Replies: 29
- Views: 14413
Batch file help
Hi all, I found this useful batch file which i've amended a little :- FOR %%? IN (C:\text_files\*) DO ( ECHO File Name Only : %%~n? ECHO File Extension : %%~x? ECHO File Size : %%~z? ECHO File Creation Date : ECHO Last-Modified Date : %%~t? ECHO Fully Qualified Path : %%~f? ) >> all.log What i'm try...