home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / MS_DEV / VID / SERVER / ASF / DATA.Z / ssi2.stm < prev    next >
Text File  |  1996-10-01  |  896b  |  39 lines

  1. <HTML>
  2. <HEAD>
  3. <H1>
  4. #fsize</H1>
  5. <BR>
  6. This example demonstrates use of the '#fsize' function. <BR>
  7. <HR>
  8. </HEAD>
  9. <BODY>
  10. 1. Display file size of file in current directory<BR>
  11.    The file 'inc.txt' has a file size of (in kilo bytes)
  12. <FONT COLOR="Green">
  13. <!--#fsize file="inc.txt"--><BR>
  14. </FONT>
  15. <BR>
  16. <BR>
  17. 2. Change display format of file size<BR>
  18.    The file 'inc.txt' has a file size (in bytes) of
  19. <FONT COLOR="Green">
  20. <!--#config sizefmt="bytes"-->
  21. <!--#fsize file="inc.txt"--><BR>
  22. </FONT>
  23. <BR>
  24. <BR>
  25. 3. Display file size using a virtual directory<BR>
  26.    The file '/ASPSamp/samples/inc.txt' has a file size (in bytes) of
  27. <FONT COLOR="Green">
  28. <!--#fsize file="/ASPSamp/samples/inc.txt"--><BR>
  29. </FONT>
  30. <BR>
  31. <BR>
  32. 4. Display file size of this file<BR>
  33.    This file has a file size (in bytes) of
  34. <FONT COLOR="Green">
  35. <!--#fsize file=""--><BR>
  36. </FONT>
  37. </BODY>
  38. </HTML>
  39.