Search found 4 matches

by dostipsQuestion
20 May 2020 07:32
Forum: DOS Batch Forum
Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
Replies: 78
Views: 199412

Re: JREN.BAT v2.8 - Rename files/folders using regular expressions

. With code below, JREN.BAT works great giving output: ____87111222333 bytes in Archive Note the _ means padded blank spaces. Question: What is an easy way to use above 1 line output and get this 4 line output? _______________ TB (Tera Bytes) ____87_________ GB (Giga Bytes) ____87111______ MB (Mega ...
by dostipsQuestion
16 May 2020 21:23
Forum: DOS Batch Forum
Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
Replies: 78
Views: 199412

Re: JREN.BAT v2.8 - Rename files/folders using regular expressions

Hello Dave Benham, Thank You for the code in above post. Below are slight changes to your code. These changes might add clarity for others: for %%F in ("%~dp0.") do call D:\Batches\JREN\JREN.BAT "^" "size(' ')+' bytes in '" /d /j /list /p "%%~dpF" /fm "%%~nxF" > "R:\FolderList1.txt" Above code of JR...
by dostipsQuestion
15 May 2020 09:47
Forum: DOS Batch Forum
Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
Replies: 78
Views: 199412

Re: JREN.BAT v2.8 - Rename files/folders using regular expressions

Question 1 I'm not exactly sure what you are trying to do. If you want only the size of a single folder, like "D:\portable", then specify the root path with /P and specify the specific folder with /FM call jren "^" "size()+' '" /d /j /list /p "d:\" /fm "portable" Dave Benham . Hello Dave Benham, Th...
by dostipsQuestion
13 May 2020 18:31
Forum: DOS Batch Forum
Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
Replies: 78
Views: 199412

Re: JREN.BAT v2.8 - Rename files/folders using regular expressions

Regarding: JREN.BAT 40.7 KB (41,720 bytes) version 2.8 jren "^" "size(' ')+' '" /d /j /list /p "d:\" >"C:\folderList.txt" Output: 227590778 FirefoxPortable 202363463 Portable 0 Program Files Note: Windows, Shift F10 Properties gives exact same number as your JREN Batch. 202,363,463 Portable (in wind...