Hi !k,
Thanks for the mail.
I have tried ur code but its showing some other error message.
here I am attaching the output :
Search found 4 matches
- 22 Nov 2011 23:18
- Forum: DOS Batch Forum
- Topic: Dos Command/Batch file to find a folder path & file size
- Replies: 8
- Views: 17880
- 22 Nov 2011 00:38
- Forum: DOS Batch Forum
- Topic: Dos Command/Batch file to find a folder path & file size
- Replies: 8
- Views: 17880
Re: Dos Command/Batch file to find a folder path & file size
hi, I am geting the size in Byte so how to convert it into BG and MB? Here I am attaching my piece of code echo off &setlocal set "dir=D:\Project" for /d %%d in ("%dir%\*") do call :size "%%d" pause goto :eof :size setlocal enabledelayedexpansion set dir=%1 set size...
- 23 Oct 2011 21:31
- Forum: DOS Batch Forum
- Topic: Dos Command/Batch file to find a folder path & file size
- Replies: 8
- Views: 17880
Re: Dos Command/Batch file to find a folder path & file size
Hi Dave Benham, Many thanks for the mail. Actually my requirement is to get the folder size and folder path in a particular drive. Suppopse in my D drive i have 10 folders,so i will run this particular program...it should show all its folder path and size. In short i want know the path of that folde...
- 21 Oct 2011 03:42
- Forum: DOS Batch Forum
- Topic: Dos Command/Batch file to find a folder path & file size
- Replies: 8
- Views: 17880
Dos Command/Batch file to find a folder path & file size
Dos Command/Batch file to find a folder path & file size
Hello,
I need a DOS command/Batch file to get the folder size alone.
Example C:\Project/sample.doc
Size is :15KB
Batch file must be DOS based.
Please help me on this.
Thanks
Hello,
I need a DOS command/Batch file to get the folder size alone.
Example C:\Project/sample.doc
Size is :15KB
Batch file must be DOS based.
Please help me on this.
Thanks