In a typical browser environment, JavaScript cannot:
- buffer access
- file system access
So what you want under normal conditions is impossible.
If you have an unusual environment (for example, a WSH environment or Internet Explorer with low security settings and access to ActiveX), then this may be feasible, but how you do it will depend on the context in which you use the code in.
source
share