May 2010
Intermediate to advanced
1272 pages
61h 18m
English
My.Computer provides lots of shortcuts for performing most-common operations on files and directories via the FileSystem property. Members are self-explanatory and easy to understand, so you can always take advantage of IntelliSense. To demonstrate how easy it is to work with the file system, let’s go through some examples. The following code copies a directory into another one, then it creates a new directory, and finally it retrieves the current directory:

You can also get information on Windows’s special directories via the SpecialDirectories property as follows:
Working with files is also straightforward. For ...
Read now
Unlock full access