Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
Using dos script i want to check the size of the file. If it is over 1 mb i want to rename it. i got the logic for renaming with time stamp but not clear with the file size. I am not passing file name as argument.

It might help to post a few lines from a DIR output.
"i got the logic for renaming with time stamp"
You got me intrigued.
=====================================
If at first you don't succeed, you're about average.M2

Hi Guys,
Can any one help me with the below requirement?
I need to have a command in DOS which checks the size of any file.
Regards,
Renjith

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |