Symbolic Links
Windows Vista and Windows 7 include symbolic links. Symbolic links act like shortcuts, but they provide a transparent link to the target file at the file-system level rather than within Windows Explorer. Therefore, although a user can double-click a shortcut from Windows Explorer to open the original file, a symbolic link will actually trick applications into thinking they are directly accessing the target file.
As an administrator, you might need to use symbolic links for backward compatibility. For example, if an application expects to find a file in the root of the C drive but you need to move the file to a different location on the local disk, you can create a symbolic link in the root of the C drive to the file's new location, allowing the application to continue to access the file in the root of the C drive. Windows Vista and Windows 7 use symbolic links for backward compatibility with user profiles in earlier versions of Windows.
Symbolic Links, Hard Links, Junction Points, and Shortcuts
Windows Vista and Windows 7 support four different types of links, each providing a slightly different function:
- Shortcuts Shortcuts are files with a .lnk extension. If you double-click them within the Windows Explorer shell, Windows will open the target file. However, the file system treats .lnk files just like any other files. For example, opening a .lnk file from a command prompt does not open the target file.
- Hard links Hard links create a new directory entry for an existing file, so a single file can appear in multiple folders (or in a single folder using multiple filenames). Hard links must all be on a single volume.
- Junction points A lso known as soft links, junction points reference a folder using an absolute path. Windows automatically redirects requests for a junction point to the target folder. Junction points do not have to be on the same volume.
- Symbolic links A pointer to a file or folder. Like junction points, symbolic links are almost always transparent to users. (Occasionally, a program might use an outdated application programming interface [AP I] that does not respect a symbolic link.) Symbolic links use relative paths rather than absolute paths.
In this tutorial:
- Managing Disks and File Systems
- Overview of Partitioning Disks
- How to Choose Between MBR or GPT
- Converting from MBR to GPT Disks
- GPT Partitions
- Choosing Basic or Dynamic Disks
- Working with Volumes
- How to Create a Simple Volume
- How to Create a Spanned Volume
- How to Create a Striped Volume
- How to Resize a Volume
- How to Delete a Volume
- How to Create and Use a Virtual Hard Disk
- File System Fragmentation
- Backup And Restore
- How File Backups Work
- File and Folder Backup Structure
- How System Image Backups Work
- How to Start a System Image Backup from the Command Line
- How to Restore a System Image Backup
- System Image Backup Structure
- Best Practices for Computer Backups
- How to Manage Backup Using Group Policy Settings
- Previous Versions and Shadow Copies
- How to Manage Shadow Copies
- How to Restore a File with Previous Versions
- How to Configure Previous Versions with Group Policy Settings
- Windows ReadyBoost
- BitLocker Drive Encryption
- How BitLocker Encrypts Data
- How BitLocker Protects Data
- TPM with External Key (Require Startup USB Key At Every Startup)
- TPM with PIN (Require PIN At Every Startup)
- TPM with PIN and External Key
- BitLocker To Go
- BitLocker Phases
- Requirements for Protecting the System Volume with BitLocker
- How to Enable the Use of BitLocker on the System Volume on Computers Without TPM
- How to Enable BitLocker Encryption on System Volumes
- How to Enable BitLocker Encryption on Data Volumes
- How to Manage BitLocker Keys on a Local Computer
- How to Manage BitLocker from the Command Line
- How to Recover Data Protected by BitLocker
- How to Disable or Remove BitLocker Drive Encryption
- How to Decommission a BitLocker Drive Permanently
- How to Prepare AD DS for BitLocker
- How to Configure a Data Recovery Agent
- How to Manage BitLocker with Group Policy
- The Costs of BitLocker
- Windows 7 Encrypting File System
- How to Export Personal Certificates
- How to Import Personal Certificates
- How to Grant Users Access to an Encrypted File
- Symbolic Links
- How to Create Symbolic Links
- How to Create Relative or Absolute Symbolic Links
- How to Create Symbolic Links to Shared Folders
- How to Use Hard Links
- Disk Quotas
- How to Configure Disk Quotas on a Single Computer
- How to Configure Disk Quotas from a Command Prompt
- How to Configure Disk Quotas by Using Group Policy Settings
- Disk Tools
- EFSDump
- SDelete
- Streams
- Sync
- MoveFile and PendMoves