C
Cloud Burst
I'm writing a javascript for my own use. I'd like it to read my
disk to get some information. In particular, I want to find out
how much disk is being used by some directories.
At present, I'm pasting the output of a command line "du -s" into
some text fields and using that information.
As I understand it, for security reasons javascript isn't allowed
to do disk input/output. Please correct me if I'm wrong.
So what is the best way to get this type of information off the
disk? In order of preference I'd like an html, javascript, java,
or C solution.
Is there a way to call a script or bat file from html or js? I
doubt it, but thought I'd ask.
Remember, I only want to read the disk, not write to it.
Thanks.
CB
disk to get some information. In particular, I want to find out
how much disk is being used by some directories.
At present, I'm pasting the output of a command line "du -s" into
some text fields and using that information.
As I understand it, for security reasons javascript isn't allowed
to do disk input/output. Please correct me if I'm wrong.
So what is the best way to get this type of information off the
disk? In order of preference I'd like an html, javascript, java,
or C solution.
Is there a way to call a script or bat file from html or js? I
doubt it, but thought I'd ask.
Remember, I only want to read the disk, not write to it.
Thanks.
CB