also @ TechSpot: Nortel's internal network "owned" by hackers for almost a decade
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Software Apps

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

File systems

Thread Tools Search this Thread
  #1  
Old 11-02-2008
Newcomer, in training
 
Member since: May 2008, 22 posts
File systems

Hi Everyone, in relation to file systems which are made up of 2 components, directory entries and the file allocations table. Are Directory entries actually part of a folder/directory. If you run CMD and say type in cd\windows it takes you to the windows directory. If you then type dir you will see two directories namely . and ..

<DIR> .
<DIR> ..

Are these the directory entries and are they the directory entries of the file system.

Many Thanks

Mark
  #2  
Old 11-03-2008
jobeard's Avatar
TechSpot Ambassador
 
Location: Southern Calif.
Member since: Apr 2005, 10,834 posts
Directories are hierarchial and the '.' refers to THIS directory and '..' refers to the parent of THIS.
Both of these are NOT part of the contents of the directory itself, but rather part
of the filesystem control structure which controls the directories.

Without these, relative navigation (eg: cd ..\siblingDir ) would not be possible
  #3  
Old 11-04-2008
Newcomer, in training
 
Member since: May 2008, 22 posts
Hi Jobeard, thanks for your reply. It is how the "." and ".." are part of the file system I am interested in. Can you or anyone else expand on this,

Cheers
Mark
  #4  
Old 11-04-2008
almcneil's Avatar
TechSpot Guru
 
Location: Ottawa, CANADA
Member since: Jun 2007, 1,547 posts
The '.' and '..' are meant as a shorthand for the current and parent directories. It's just to make the display simpler. So if you change directory to say 'c:\windows' and the type 'dir', the "." refers to 'c:\windows" and the '..' refers to 'c:\'

-- Andy
Closed Thread

Similar Topics
Topic Replies Forum
XP message: systems registry file missing 0 Windows OS
Tutorial: File sharing XP to Non-XP systems 2 Storage and Networking
Tip: File sharing Vista vs. Other systems 7 Windows OS
accessing FAT via NTFS file systems - win xp pro 1 Windows OS
Does Windows XP support Mac file systems? 5 Windows OS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 07:00 PM.