FileInfo

From GrunchWiki
Jump to navigation Jump to search

;--------------------------------------------

  • ## ITEM "FileInfo"
  • ## DATE "24.11.2011"
  • ## DESCRIPTION
A tool to get infos about a file/dir.

Will be copied to c:!

Changelog:
1.5 (24-Nov-11):
New: Added RNX=RootNameX/N the filename w/o X suffixes and w/o the path
f.e. "FileInfo Movie.mpg.avi RNX=2" -> RootName2 : Movie
New: Added FRNX=FullRootNameX/N the filename w/o X suffixes but with the path
f.e. "FileInfo Movie.mpg.avi FRNX 2" -> FullRoot2 : Video:MyMovies/Movie

1.4 (02-Feb-11):
	New: Added FC=FileCount/S to show the number of files in a directory
		 if you specified a file instead of a directory as "File" argument, 1 is returned


{STANDARDBACKUP}
{STANDARDEXTRACT}
{STANDARDCOPY}
Copy "{INSTALLDIR}{NAME}/FileInfo" C:
  • ## INSTALL END
  • ## UNINSTALL
{STANDARDBACKUP}
Delete FORCE "{INSTALLDIR}{NAME}" ALL
Delete FORCE "{INSTALLDIR}{NAME}.info"
Delete FORCE "C:{NAME}"
  • ## UNINSTALL END
  • ## ITEM END