Search found 5 matches

by b8two
31 Oct 2013 22:21
Forum: DOS Batch Forum
Topic: [Help] Script log file size.
Replies: 9
Views: 6929

Re: [Help] Script log file size.

For the Size of each folder; Current folder only; dir /A-D %A\*.*^|find "File(s)" 2>nul 1>"File List.txt" All sub folders from current for in a batch file; for /f "tokens=*" %%A IN ('dir /b /s /ad') DO (for /f "tokens=*" %%a IN ('dir /A-D %%A\*.*^|find "F...
by b8two
31 Oct 2013 20:07
Forum: DOS Batch Forum
Topic: Backup dos batch
Replies: 3
Views: 3807

Re: Backup dos batch

@rhidir, Not sure why you used four lines for this as it's a one line trick. Keep in mind that the Regional settings of your machine determine the order of Day Month and Year as displayed, hence do an ECHO %DATE% first to know what you'll be getting. For USA Regional Settings; for /F "tokens=2,...
by b8two
31 Oct 2013 19:47
Forum: DOS Batch Forum
Topic: [DEBATABLE] Time to upgrade to Windows 8 from Windows 7?
Replies: 16
Views: 12984

Re: [DEBATABLE] Time to upgrade to Windows 8 from Windows 7?

Are you referring to Windows 8 or 8.1 from Windows 7. I've been using Windows 8 since it was released cheaply and I noticed a few of the keyboard navigation methods I used no longer worked but have been restored in Windows 8.1. Using "Classic Start Menu" and fixing file associations to use...
by b8two
31 Oct 2013 04:05
Forum: DOS Batch Forum
Topic: [code] Batch Clock Widget
Replies: 51
Views: 101386

Re: [code] Batch Clock Widget

An alternative for getDate that avoids creating a file, then deleting it. :getDate for /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%j set /a "year=%ldt:~0,4%,month=1%ldt:~4,2%-100,day=1%ldt:~6,2%-100,ho...
by b8two
31 Oct 2013 00:19
Forum: DOS Batch Forum
Topic: Drawing rudimentary graphics in text mode
Replies: 46
Views: 65549

Re: Drawing rudimentary graphics in text mode

Aacini wrote:May someone confirm if my ColorMsg.exe program works in 64-bits Windows versions? Thanks :)


No. It's not working on 64bit.