I have a new issue. I am using the following script to get the free space. // These are the Variables Dim c_bytes, Number Dim mbytes, Number Dim d_bytes, Number Dim total, Number Dim c_mbytes, Number Dim d_mbytes, Number // This gets the free space from the drives that are mapped to the PC // and stores the data in c_bytes and d_bytes. DiskGetFreeSpace( "R:", c_bytes ) MessageBox( c_bytes ) DiskGetFreeSpace( "W:", d_bytes ) MessageBox( d_bytes ) But the line that refers to d_bytes, is returning the wrong data. It should return 14.6GB but it returns 3.1GB. Can you help me with this. : I am trying to create a task that will report the free space on our different : servers, and I am having problems with the "output", is there a : way to Print the value of a varible inside of a text statement, either to : the screen, printer, or email. : example: dim Mbytes, number : Output: There is {MYBYTES} MB of Free space remaining on the server.
|