Search found 7 matches

by romanrsr
04 Nov 2013 06:51
Forum: DOS Batch Forum
Topic: [Help] Script log file size.
Replies: 9
Views: 6909

Re: [Help] Script log file size.

Could it be we are thinking too complicated @romanrsr Would that be sufficient for you? >"logfile.log" dir /a /s "C:\your\folder" Change the "C:\your\folder" to the path that you want to log. Regards aGerman Unfortunately not work for me friend, archive.log opens, but ...
by romanrsr
01 Nov 2013 13:01
Forum: DOS Batch Forum
Topic: [Help] Script log file size.
Replies: 9
Views: 6909

Re: [Help] Script log file size.

Could it be we are thinking too complicated @romanrsr Would that be sufficient for you? >"logfile.log" dir /a /s "C:\your\folder" Change the "C:\your\folder" to the path that you want to log. Regards aGerman Unfortunately not work for me friend, archive.log opens, but ...
by romanrsr
01 Nov 2013 08:35
Forum: DOS Batch Forum
Topic: [Help] Script log file size.
Replies: 9
Views: 6909

Re: [Help] Script log file size.

Squashman wrote:do you want it to recurse through sub directories or do you really want just one folder.


I want to recurse the files and folders in a directory. Thank you!
Greetings!
by romanrsr
01 Nov 2013 08:34
Forum: DOS Batch Forum
Topic: [Help] Script log file size.
Replies: 9
Views: 6909

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 "...
by romanrsr
31 Oct 2013 11:35
Forum: DOS Batch Forum
Topic: [Help] Script log file size.
Replies: 9
Views: 6909

[Help] Script log file size.

Hello friends, how are you? First of all sorry for my poor English.
As it says in the title, you would need a script that loops through all the files and folders in a directory, and I generate a log with the size of each file and folder. Is there any way?
Thank you!
Greetings!
by romanrsr
01 Feb 2013 12:59
Forum: DOS Batch Forum
Topic: [Help] Create folder with earlier
Replies: 2
Views: 3055

Re: [Help] Create folder with earlier

First of all sorry for my poor English. It really is amazing the work you did friend! Everything works to perfection! Quisas was easy for you, but for me a world! Thank you so much for taking the time to edit the script! Greetings!
by romanrsr
30 Jan 2013 07:05
Forum: DOS Batch Forum
Topic: [Help] Create folder with earlier
Replies: 2
Views: 3055

[Help] Create folder with earlier

Good morning friends, I tell them I have the following script, and what I need is that when I create folders on the first and last line, believe me the day before the date. Osea if today is 30, I believe it is dated 29. Is there any way? Thank you! Greetings! SET FOLDER=%date:~6,4%-%date:~3,2%-%date...