wow that was easy and will be very useful, thanks for a quick and dirty intro into the filesystemobject got any crash courses on rendoring the data back into a file?
Internet Explorer will run this code (most browsers can be set to allow javascript to run) though you are correct in stating it can be run outside of a browser. But the use of ActiveX objects restricts it to the Windows operating system.
@liamsyt1
oh cool
monster98012 2 years ago
wow that was easy and will be very useful, thanks for a quick and dirty intro into the filesystemobject got any crash courses on rendoring the data back into a file?
digitalenigma00 2 years ago
Internet Explorer will run this code (most browsers can be set to allow javascript to run) though you are correct in stating it can be run outside of a browser. But the use of ActiveX objects restricts it to the Windows operating system.
lmazKOPPfd909 3 years ago
Line 1 creates the variables.
Line 2 creates a file system object
(the user will receive a warning message and be required to authorize the ActiveXObject)
Line 3 invokes a method in the file system object "CreateTextFile") - this actually creates the test file, "a.txt"
Line 4 writes the letter A and a newline character into the just-created file, using the object's WriteLine() method.
Line 5 closes the file using the object's close() method.
This only works in Internet Explorer on Windows.
lmazKOPPfd909 3 years ago
What does it do ??? =)
joiste 3 years ago
yea if you consider that... in fact writes a text file, usually in %C:%\Document and settings\%user%
xxDoctorWhox 3 years ago
mm, alright, i ran it, but it doesnt do anything
xRipUApartx 4 years ago
okay...what does it do? does it screw up the computer or what? im a little scared to run this thing...
xRipUApartx 4 years ago
what does it do
liamsyt1 4 years ago