خلقت خطوات رمزيّة, يستعصي خطوات ودليل ملتقيات في [فيستا] مع [مكلينك]
ل [أونيإكس-ليك] أو [لينوإكس] نظامة مستعملات, خطوة رمزيّة سمة عاديّة [إين وس] تقريبا يوميّة. خطوة رمزيّة ([أكا] خطوة ليّنة) أو [سملينك] ك هو غالبا يوجز إلى, نوع خاصّة من مبرد أو [فيل-سستم] شيء أنّ يخدم كمرجع أو نقطات إلى آخر مبرد, [أونك] أو دليل, يعرف كهدف. في [ويندووس] [فيستا], [سملينكس] أضفت سمة يتلقّى يكون إلى [نتفس] [فيلسستم] ويستطيع كنت خلقت ب يستعمل [مكلينك] أمر. في سابقة [ويندووس] [أبرت سستم], الشيء قريبة إلى خطوات رمزيّة [نتفس] ملتقى نقطة, أو مريضة, [ويندووس] قشرة قذيفة طريق مختصر ([.لنك]) مبرد.
يسمح [سملينك] في [فيستا], بخلاف [.لنك] طريق مختصر في مكتب أو [ويندووس] رجل التّنقيب, مستعملة أن ينفذ مبارد ضمن الخطوة رمزيّة خلقبنفسي عن طريق رجل التّنقيب, الوحدة طرفيّة للتحكّم و [إتك.]. ويختلف خطوة رمزيّة أيضا من [نتفس] ملتقى نقطة أيّ يستطيع فقط اقترنت إلى ملفات وحجوم, في أيّ [سملينكس] يستطيع دللت إلى مبرد, [أونك], ملف أو حجم, [أس ولّ س] يمكن أن يجسر [فيل سستم].
خطوة رمزيّة مفيدة عندما يتلقّى أنت [ا لوت] الملفات ومبارد تناثرت [ألّ وفر] الدليل شجرة, وأنت تحتاج أن يديرهم من موقعة وحيد. آخر سيناريو أنّ يتلقّى أنت عميقة يعشّق مبرد أنّ أنت تريد أن ينفذ سريعا [إينستد وف] عارضة من خلال واحدة فرع بواحدة فرع. وعلاوة على ذلك, لمبرمجة, يزوّد [سملينك] ساكن إستاتيكي مبرد ممر أنّ يستطيع كنت نقطة إلى في أيّ وقت يغيّر شيء دون يأثر ال [فونكأيشنليتي] من البرنامج. في كلّ هذا حالة, خطوات رمزيّة يستطيع كنت خلقت في موقعة ملائمة أيّ يدلّ إلى ال `حقيقيّة' أشياء.
بما أنّ يذكر, أن يخلق خطوة رمزيّة, إستعمال [مكلينك] [كمّند لين] أداة. [مكلينك] يستطيع كنت استعملت أن يخلق يستعصي خطوة أو دليل ملتقى أيضا. يستعصي يعطي خطوة أساسا آخر اسم أو علامة مميّزة إلى الأشياء, بينما [نتفس] دليل ملتقى نقطة يكون استعملت أن يعيد الملف كاملة إلى آخر ملف [أس يف] هو الملف أصليّة بنفسي. ملتقى استعملت نقطة بشكل واسع في [فيستا] أن يزوّد دعم لقديمة دليل بنى ل [أوسر بروفيل] ([إي.] وثائق وعمليّة إعداد) إلى نقطة إلى الجديدة مستعملة ملفات يحدّ [أوسر ديركتوري] داخليّة.
إعراب وخيارات ال [مكلينك]
[مكلينك] [[[/د]] | [[/ه]] | [[/ج]]] خطوة هدف
يخلق /D - دليل خطوة رمزيّة. تقصير أن يصنّف خطوة رمزيّة.
يخلق /H - يستعصي خطوة [إينستد وف] خطوة رمزيّة.
يخلق /J - دليل ملتقى.
يعيّن خطوة - ال [لينك نم] جديدة رمزيّة.
Target - Specifies the path (relative or absolute) that the new link refers to.
Examples and Usages of MKLINK
Note: Only Administrators can use MKLINK to create symbolic links unless override by using secpol.msc, so you need to run Command Prompt with elevated privileges, or else you will get “You do not have sufficient privilege to perform this operation.” error.
To create symbolic link called foo to reference to c:\Windows\System32\notepad.exe:
C:\test>mklink foo c:\Windows\System32\notepad.exe
You will see the following result:
symbolic link created for foo <<===>> c:\Windows\System32\notepad.exe
If you type dir in commnd prompt, you will see the following listing:
Volume in drive C has no label.
Volume Serial Number is 2211-7428Directory of C:\test
04/14/2006 11:24 AM <DIR> .
04/14/2006 11:24 AM <DIR> ..
04/14/2006 11:24 AM <SYMLINK> foo [c:\Windows\system32\notepad.exe]
1 File(s) 0 bytes
2 Dir(s) 69,238,722,560 bytes free
To create symbolic link to a folder, simply use /D switch:
C:\test>mklink /d bar c:\windows
symbolic link created for bar <<===>> c:\windows
Results of dir command:
Volume in drive C has no label.
Volume Serial Number is 2211-7428Directory of C:\test
04/14/2006 11:24 AM <DIR> .
04/14/2006 11:24 AM <DIR> ..
04/14/2006 11:24 AM <SYMLINKD> bar [c:\windows]
04/14/2006 11:24 AM <SYMLINK> foo [c:\Windows\system32\notepad.exe]
1 File(s) 0 bytes
3 Dir(s) 69,238,722,560 bytes free
MKLINK cannot use to delete symbolic link. To remove a symbolic link, simply delete them as if you’re removing a normal file. For example, to delete the foo symbolic link created above, enter the following command:
C:\test>del foo
To remove the bar symbolic link to a folder created above, use the following command:
C:\test>rd bar
IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- 10 New Executables and 20 Old Commands in Windows Vista
- Restore Missing or Deleted Favorite Links Shell Folder
- Change Group Ownership of Symbolic Links in Unix or Linux
- Technorati Incoming Links Plugin for WordPress
- Amazon Context Links for Associates Affiliate Program
- View and Retrieve Oracle Database Link Details
- How to Add Jump Links in the Email
- Add NoFollow Relationship to WordPress Blogroll to Increase PageRank
- Launch and Open Links in New Window or Tab with _blank or _new as Target in HTML and Their Difference
- How to Avoid, Bypass or Escape Google Sandbox

































June 2nd, 2007 04:22
[...] Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK » My Digital Life: [...]
June 23rd, 2008 09:36
I cannot figure out how to go to or switch to a symbolic link after it is created. How do you do it? I can’t find instructions for this mentioned anywhere.
June 25th, 2008 06:32
Thanks for the post, but I don’t see the point of creating a symlink to a file. In your example, you created a symlink called “foo” pointing to notepad.exe, but what can you do to the file “foo”? It’s not executable, even after I rename it to foo.exe.
Thanks.
July 22nd, 2008 17:39
you can’t execute symlinks, for that you need to make a shortcut the normal way. A symlink is more usefull for ppl to read a certain file wich is in a folder they normaly can’t go to. Or the same file is needed on 2 different folder locations, but you dont want to edit 2 seperate files all the time.