ASP Folder Object

Multi tool use
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1422003450156-2'); });
ASP Folder Object
❮ Previous
Next ❯
The Folder Object is used to return information about a specified folder.
The Folder Object
The Folder object is used to return information about a specified folder.
To work with the properties and methods of the Folder object, you will have to
create an instance of the Folder object through the FileSystemObject object. First; create a FileSystemObject
object and then instantiate the Folder object through the GetFolder method of the FileSystemObject object.
The following code uses the GetFolder method of the FileSystemObject object to instantiate the Folder object
and the DateCreated property to return the date when the specified folder was created:
<%
Dim fs,fo
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set fo=fs.GetFolder("c:test")
Response.Write("Folder created: " & fo.DateCreated)
set fo=nothing
set fs=nothing
%>
Output:
Folder created: 10/22/2008 10:01:19 AM
The Folder object's collections, properties, and methods are described below:
Collections
Collection | Description |
---|
Files | Returns a collection of all the files in a specified folder |
SubFolders | Returns a collection of all subfolders in a specified folder |
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1493883843099-0'); });
Properties
Property | Description |
---|
Attributes | Sets or returns the attributes of a specified folder |
DateCreated | Returns the date and time when a specified folder was created |
DateLastAccessed | Returns the date and time when a specified folder was last accessed |
DateLastModified | Returns the date and time when a specified folder was last modified |
Drive | Returns the drive letter of the drive where the specified folder resides |
IsRootFolder | Returns true if a folder is the root folder and false if not |
Name | Sets or returns the name of a specified folder |
ParentFolder | Returns the parent folder of a specified folder |
Path | Returns the path for a specified folder |
ShortName | Returns the short name of a specified folder (the 8.3 naming convention) |
ShortPath | Returns the short path of a specified folder (the 8.3 naming convention) |
Size | Returns the size of a specified folder |
Type | Returns the type of a specified folder |
Methods
Method | Description |
---|
Copy | Copies a specified folder from one location to another |
Delete | Deletes a specified folder |
Move | Moves a specified folder from one location to another |
CreateTextFile | Creates a new text file in the specified folder and returns a TextStream object to access the file |
❮ Previous
Next ❯
Ejm,CG kVeTv5PNBc4Igb Wwu
Popular posts from this blog
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 2 down vote favorite This is my client code: (My server is very similar at the moment but I will upload it below this one just in case somebody wants to run it) #include <SFML/Graphics.hpp> #include <SFML/Network.hpp> #include <thread> int main() sf::RenderWindow main_win(sf::VideoMode(800, 800), "Chatcy!"); main_win.setPosition(sf::Vector2i(sf::VideoMode::getDesktopMode().width/2 -400, sf::VideoMode::getDesktopMode().height/2 -400)); main_win.setVerticalSyncEnabled(true); //chatcy logo sf::Texture chatcy; chatcy.loadFromFile("image_chatcy.png"); sf::Sprite logo; logo.setTexture(chatcy); //200x800 //font sf::Font font; font.loadFromFile("FreeSerif.ttf"); //name sf::String name("Client"); name += ": "; //text input area and background sf::RectangleShape in_backg...
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 1 down vote favorite My goal is to create a compact function that can create a JSON Like object from JSON string. I want a function with a small footprint that I or anyone who wants to use it, can simply paste into a module and use. At 61 lines of code, I am happy with its size and portability. Here is an image of JSON Object created from string data using a ScriptControl . Although the Locals Window displays the properties and values correctly, the object itself is extremely difficult to work with. This image shows an object created using getJSONCollection . Because it is made of VBA Collections and Arrays, it is very easy to work with. Option Explicit Private Function getJSONCollection(ByVal Value As Variant, Optional ScriptEngine As Object) As Variant Const DELIMITER As String = "||" Dim col As Collection, JSON As Object, KeyNam...
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 4 down vote favorite I have made a little Quiz Game in Python. This was my first experience in programming Gui's in Python with Tkinter. In general, I do not have much knowledge about graphic programming and have acquired the necessary knowledge through skimming internet articles and try and error. Accordingly, the code looks like sciolism and semi-professional structuring. That should be improved. I will not be able to avoid a good basic tutorial on graphic programming, I think. However, if you have tips for me how to improve the style I would be grateful to hear them. from tkinter import Tk, Frame, Label, Button from time import sleep class Question: def __init__(self, question, answers, correctLetter): self.question = question self.answers = answers self.correctLetter = correctLetter def check(self, letter, view): global right if...