Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get a file's modified date/time and size in bytes?
#33
These are the commandline switches for my Whereis utility:

Note: there is switches for date/time when specified as /1 or /2 or /3:

Code: (Select All)
Whereis v1.0a: File search utility;
Usage:
  Whereis [@][d:\path\filename.ext][//ahiosx][/bcdefgjklnpqrtuvwyz@#][/123]
Where:
  /b  suppress drive letter      /c  continuous display
  /e  short filename display    /g  display search directories
  /j  skip current directory    /k  use 8.3 short filenames
  /l  double line display        /nxxx  nested directories
  /q  directory count override  /r  recurse directories
  /u  remove trailing slash      /v  display volume label
  /w  wide file list            /y  display lowercase
  /z  no error messages          /z1 display only errors
display ranges:
  /1  creation, /2  last access, /3  modify time
  /d  is range of file dates in form mm/dd/yyyy-mm/dd/yyyy
  /t  is range of file times in form hh:mm:ss-hh:mm:ss
  /f  is range of file sizes in form xxx-xxx in kilobytes
  filelist switches:
    /@  enable filelists  /#  ignore filelist prompts
  exclude file list switch:
    /(<filename.ext>)
      excludes files containing ? and * characters.
  display file attributes: // prefix for files with, / prefix for files without
    a  archive, h  hidden, i  directory, o  read-only, s  system
    m1  compressed,  m2  encrypted, x  none
  DOS command: /[<command>]
    with command replacement parameters: (use /p for /c override);
      %1 = d:, %2 = d:\, %3 = d:\pathname, %4 = d:\pathname\
      %5 = d:\pathname\filename.ext, %6 = \pathname, %7 = \pathname\
      %8 = \pathname\filename.ext, %9 = filename.ext, %a = filename
      %b = .ext, %c = ext, //1 = >, //2 = <, //3 = |, //4 = %, //5 = ]


Attached Files
.doc   WHEREIS.DOC (Size: 13.72 KB / Downloads: 72)
.bas   WHEREIS.BAS (Size: 65.2 KB / Downloads: 80)
Reply


Messages In This Thread
RE: how to get a file's modified date/time and size in bytes? - by eoredson - 05-04-2025, 09:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Font Size in Threads Dimster 5 377 12-12-2025, 04:49 PM
Last Post: Dimster
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 11 1,084 11-10-2025, 07:23 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 227 10-26-2025, 06:58 PM
Last Post: madscijr
  question on determining time spent in area fistfullofnails 9 845 08-25-2025, 01:55 PM
Last Post: fistfullofnails
  Testing against multiple elements at a time without select case CMR 4 844 04-17-2025, 02:16 AM
Last Post: CMR

Forum Jump:


Users browsing this thread: 1 Guest(s)