diskusage.exe

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x4000271011DiskUsage - Disk Usage Description: Summarize disk usage recursively for the given directory. Usage : diskusage [Options] [Directory] Options : /a, /systemFile[:N] displays size for system files (and optionally the top N system files by SizeOnDisk in descending order) /b, /reserved displays size for reserved space /c, /csv displays in csv format /d, /maxDepth:N displays directory information only if it is N or fewer levels below command line argument /e, /minFileSize:SIZE displays directory information only if its FileSize is greater or equal than SIZE /f, /minSizeOnDisk:SIZE displays directory information only if its SizeOnDisk is greater or equal than SIZE /g, /displayFlag:FLAG specifies the flags value to determin which column(s) to display column value description SizeOnDisk 0x001 the on disk size FileSize 0x002 the end of file size SizePerDir 0x004 sum of SizeOnDisk for top level child Files 0x008 number of child files ChildDirs 0x010 number of child directories FilesPerDir 0x020 number of top level child files DirsPerDir 0x040 number of top level child directories CreationTime 0x080 file creation timestamp LastAccessTime 0x100 file last access timestamp LastWriteTime 0x200 file last write timestamp Attributes 0x400 file attributes /h, /humanReadable displays size in human readable format /i, /iniFile:FILE takes all the parameters from an INI file. NOTE: SCENARIO name must be speificed via /j (/scenario) /j, /secnario:SCENARIO specifies the scenario name for the INI file /k, /reparse recurse into reparse directories /l, /allLinks count all hardlinks separately (By default, files with multiple hardlinks are counted only once towards the first link name in alphabetical order) /m, /multipleName count only files with more than one link names /n, /nameFilter:FILTER count only files whose name matches the name filter /p, /preferredPath:PATH count files with multiple link names towards the first link in alphabetical order that's under PATH if it exists. To query with multiple preferred paths, separate with comma \",\", e.g. /p:D:\path1,D:\path2) NOTE: This options must not be specified togerther with /l (/allLinks) /q, /virtual recurse into virtual directories /s, /skipRecurse skip recursing into child directories when calculating sizes /t, /TopDirectory:N displays Top N directories by SizeOnDisk in descending order /u, /TopFile:N displays Top N files by SizeOnDisk in descending order /v, /verbose displays verbose error information /x, /clearDefault do not display the default selected columns
0x4000271111Error:
0x4000271211Usage: DiskUsage /i inipath scenario. INI file format: The parameters are grouped under scenarios. To run diskusage.exe under different scenarios, one must execute: diskusage.exe /i:inipath /j:scenario Each scenario is present in this file as an INI section. Each section may have the following entries (the optional ones are surounded by []): DirectoryPath - The directory path to list usage info. [DisplayAttributes] - Whether to display file attributes or not. [DisplaySizeOnDisk] - Whether to display on disk sizes or not. [DisplayFileSize] - Whether to display sum of file sizes (i.e. end of file) or not. [DisplaySizePerDir] - Whether to display SizePerDir or not. [DisplayFilesCount] - Whether to display files count or not. [DisplayDirsCount] - Whether to display directories count or not. [DisplayFilesPerDir] - Whether to display files count per directory or not. [DisplayDirsPerDir] - Whether to display directories count per directory or not. [DisplayLastAccessTime] - Whether to display last access timestamps or not. [DisplayCreateTime] - Whether to display creation timestamps or not. [DisplayLastWriteTime] - Whether to display last write timestamps or not. [DisplayInCSV] - Whether to display in csv format or not. [HumanReadable] - Whether to display size in human readable format or not. [MaxDepth] - Displays directory information only if it is "MaxDepth" or fewer levels below DirectoryPath. [MinFileSize] - Displays directory information only if its FileSize is greater or equal than "MinFileSize". [MinSizeOnDisk] - Displays directory information only if its SizeOnDisk is greater or equal than "MinSizeOnDisk". [IncludeAllLinks] - Whether to count all hardlinks separatly or not. [HardlinkOnly] - Whether to only count files with more than one name or not. [NameFilter] - Only count files whose name matches "FileFilter". [PreferredPath] - Count files with multiple link names towards the first link that's under "PreferredPath" if exists. [IncludeVirtualEntries] - Whether to recurse into virtual directories or not. [Reparse] - Whether to skip recursing into reparse directories or not. [SkipRecurse] - Whether to skip recursing into child directories or not. [TopDirectory] - Displays top N directories by SizeOnDisk in descending order.\n" [TopFile] - Displays top N files by SizeOnDisk in descending order.\n" [NoDefaultDisplay] - Whether to not display the default selected columns or not.\n" [SystemFile] - Whether to display size for system files or not.\n" [TopSystemFile] - Displays top N system files by SizeOnDisk in descending order.\n" [Reserved] - Whether to display size for reserved space or not.\n" );
0x4000271311Directory path
0x4000271411SizeOnDisk
0x4000271511SizeOnDisk,
0x4000271611
0x4000271711FileSize
0x4000271811FileSize,
0x4000271911Files
0x4000271a11Files,
0x4000271b11ChildDirs
0x4000271c11ChildDirs,
0x4000271d11SizePerDir
0x4000271e11SizePerDir,
0x4000271f11FilesPerDir
0x4000272011FilesPerDir,
0x4000272111DirsPerDir
0x4000272211DirsPerDir,
0x4000272311Attributes
0x4000272411Attributes,
0x4000272511CreationTime
0x4000272611CreationTime,
0x4000272711LastWriteTime
0x4000272811LastWriteTime,
0x4000272911LastAccessTime
0x4000272a11LastAccessTime,
0x4000272b11%1!I64d!
0x4000272c11%1!I64d!,
0x4000272d11%1!c!%2!c!%3!c!%4!c!%5!c!%6!c!%7!c!%8!c!%9!c!%10!c!%11!c!%12!c!
0x4000272e11%1!d!,
0x4000272f11%1!s!
0x4000273011%1!s!
0x4000273111
0x4000273211%1!s!/%2!s!
0x4000273311%1!d!.%2!d!% of disk in use
0x4000273411File path
0x4000273511(%1!s!%2!s!)
0x4000274011Preferred path = %1!s!.
0x4000274811%1!I64d!,%1!I64d!,
0x4000274911%1!s!(%2!s!%3!s!)/%4!s!(%5!s!%6!s!)
0x4000274b11----------------Top %1!d! System File----------------
0x4000274c11----------------Top %1!d! System Files---------------
0x4000274d11System files summary: %1!I64d! files, %2!I64d! directories
0x4000274e11System files summary: %1!s! files, %2!s! directories
0x4000274f11%1!s!.
0x4000275311DiskUsage - Disk Usage Description: Summarize disk usage recursively for the given directory. Usage : diskusage [Options] [Directory] Options : /a, /systemFile[:N] displays size for system files (and optionally the top N system files by SizeOnDisk in descending order) /b, /reserved displays size for reserved space /c, /csv displays in csv format /d, /maxDepth:N displays directory information only if it is N or fewer levels below command line argument /e, /minFileSize:SIZE displays directory information only if its FileSize is greater or equal than SIZE /f, /minSizeOnDisk:SIZE displays directory information only if its SizeOnDisk is greater or equal than SIZE /g, /displayFlag:FLAG specifies the flags value to determin which column(s) to display column value description SizeOnDisk 0x001 the on disk size FileSize 0x002 the end of file size SizePerDir 0x004 sum of SizeOnDisk for top level child Files 0x008 number of child files ChildDirs 0x010 number of child directories FilesPerDir 0x020 number of top level child files DirsPerDir 0x040 number of top level child directories CreationTime 0x080 file creation timestamp LastAccessTime 0x100 file last access timestamp LastWriteTime 0x200 file last write timestamp Attributes 0x400 file attributes /h, /humanReadable displays size in human readable format /i, /iniFile:FILE takes all the parameters from an INI file. NOTE: SCENARIO name must be speificed via /j (/scenario) /j, /scenario:SCENARIO specifies the scenario name for the INI file /k, /reparse recurse into reparse directories /l, /allLinks count all hardlinks separately (By default, files with multiple hardlinks are counted only once towards the first link name in alphabetical order) /m, /multipleName count only files with more than one link names /n, /nameFilter:FILTER count only files whose name matches the name filter /p, /preferredPath:PATH count files with multiple link names towards the first link in alphabetical order that's under PATH if it exists. To query with multiple preferred paths, separate with comma \",\", e.g. /p:D:\path1,D:\path2) NOTE: This options must not be specified togerther with /l (/allLinks) /q, /virtual recurse into virtual directories /s, /skipRecurse skip recursing into child directories when calculating sizes /t, /TopDirectory:N displays Top N directories by SizeOnDisk in descending order /u, /TopFile:N displays Top N files by SizeOnDisk in descending order /v, /verbose displays verbose error information /x, /clearDefault do not display the default selected columns
0xc000273611INI file %1!s! does not exist.
0xc000273711Fail to read directory path from INI file %1!s!, error = 0x%2!8x!.
0xc000273811Fail to read NameFilter from INI file %1!s!, error = 0x%2!8x!.
0xc000273911Fail to read PreferredPath from INI file %1!s!, error = 0x%2!8x!.
0xc000273a11Fail to allocate memory for full preferred path, length = %1!zu!.
0xc000273b11Fail to get full preferred path, error = 0x%1!8x!.
0xc000273c11Fail to get nt path name for preferred path %1!s!, error = 0x%2!8x!.
0xc000273d11preferred path %1!s! is not a directory.
0xc000273e11Fail to open preferred path %1!s!, error = 0x%2!8x!.
0xc000274111Fail to allocate memory for full directory path, length = %1!zu!.
0xc000274211Fail to get current directory, error = 0x%1!8x!.
0xc000274311Fail to get full directory path, error = 0x%1!8x!.
0xc000274411Fail to get volume data, root = %1!s!, error = 0x%2!8x!.
0xc000274511DiskUsage failed due to allocation failure.
0xc000274611Fail to query top %1!d! directory, path = %2!s!, error = 0x%3!8x!.
0xc000274711Fail to query top %1!d! file, path = %2!s!, error = 0x%3!8x!.
0xc000274a11Fail to get system file data, volume root = %1!s!, error = 0x%2!8x!.
0xc000275011The DiskUsage utility requires that you have administrative privileges.
0xc000275111Fail to get volume name for path %1!s!, error = 0x%2!8x!.
0xc000275211A local NTFS volume is required for this operation.
67 entries