|
|
|||||||
Hi all, Newbi here. I've been working on a script to copy my users My Documents folders to the network server for backup. The part I'm having trouble with is I would like to exit if they have too much to copy. I've seen hints about GetFolderSize in the new release however it doesn't seem to be in the beta I downloaded. It doesn't show up as an available function in the docs either. I've seen a script about user defined functions, is there a way to create a function or will I have to send info to a text and pull the line of info out I need? Thanks. |
||||||||
|
|
|||||||
you can find the GetFolderSize() UDF here http://www.scriptlogic.com/Kixtart/FunctionLib/getfoldersize.asp because of a limitation on win9x systems, a folder over 2gig will show up as 2gig for those systems. Bryce |
||||||||
|
|
|||||||
Been there, voted for it, tried it and couldn't get to go. My fault though... Fixed it and am on my way. Are UDFs assembled commands or is there more to it? Thanks |
||||||||
|
|
|||||||
Dear, Function in kixtart2001 are simple a piece of code, which make it Possible that Bryce can explain why code: c:\ returns an empty result and c:\work returns the actual value. greetings. |
||||||||
|
|
|||||||
any ideas on how to display in MB? |
||||||||
|
|
|||||||
Yes, do the math on the file size (e.g. convert the bytes to MBytes). Please do not hijack old threads in the future. Instead, start your own thread. There isn't much value in resurrecting a five year old thread. |