{= get_directory_contents("", "volatile.directory_contents"); node directory_contents = "volatile.directory_contents"; node item; string item_type; string item_pathname; # debug_message("directory contents\n" . node_as_string(directory_contents) . "\n"); int count = 0; string button_id; if (node_exists("volatile.drives")) then ( delete_node("volatile.drives"); ); foreach item directory_contents ( item_type = node_value(subnode_by_name(item, "type")); item_pathname = node_value(subnode_by_name(item, "pathname")); if (item_type eq "drive") then ( "volatile.drives." . count = item_pathname; count++; ); ); if (node_exists("volatile.drives")) then ( node drives = "volatile.drives"; node drive; string drive_path; ' | \n'; '\n'; ' | \n'; ); # ---------------------------- # Connect to mapped drive link # ---------------------------- if (_PLATFORM eq "Win32") then ( '\n'; '\n'; ' | \n'; ); '
' . lang_admin.file_manager.operation_info . ' |