To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
CloseWelcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.
CloseReview for Wolfram MathWorld by Tiger19
Rated 3 out of 5 stars
leer.js :
var argObj = WScript.Arguments;
if (argObj.length == 0) {
WScript.Echo("Bitte vollstaendige Pfadangabe!");
}
else {
var Verz = argObj.item(0);
var FsObj = WScript.CreateObject("Scripting.FileSystemObject");
if (FsObj.FolderExists(Verz)) {
var FolderObj = FsObj.GetFolder(Verz);
if (FolderObj.Size == 0) {
WScript.Echo("Das Verzeichnis ist leer!");
}
else {
var File = new Enumerator(FolderObj.files);
WScript.Echo("Das Verzeichnis existiert!");
WScript.Echo("Name des Ordners: " + FolderObj.Name);
for (; !File.atEnd(); File.moveNext()) {
WScript.Echo("Name der Dateien: " + File.item().Name);
}
}
}
else {
WScript.Echo("Das Verzeichnis existiert nicht!");
}
}
To create your own collections, you must have a Mozilla Add-ons account.