How to navigate in the DOS command prompt كيف يمكنك التنقل في دوس الاوامر

Posted on February 25, 2008 at 7:04 am تنشر على 25 شباط / فبراير ، 2008 في الساعة 7:04

Earlier today I had to boot a clients computer into Safe Mode and delete a virus via the DOS command prompt because if Windows loaded, the file would become locked and hence undeleteable! وفى وقت سابق اليوم اضطررت الى احد العملاء الحذاء الحاسوب الى الوضع الآمن وحذف الفيروس عبر دوس الاوامر لانه اذا تم تحميل ويندوز ، وسيصبح ملف مغلق ، وبالتالي undeleteable! There are several other reasons why you may have to use the command prompt in your life (though rarely), so it’s good to know how to navigate your way around! وهناك عدة أسباب أخرى قد تضطر الى استخدام الاوامر في حياتك (وان كان نادرا) ، لذلك فانه من الجيد ان يعرف كيف ان تبحر حول طريقك!

If you’ve been wanting to learn how to use the command prompt in Windows, I’ll go through some of the basic MS DOS commands that are performed most often. اذا كنت ترغب فى تعلم كيفية استخدام الاوامر في ويندوز ، انا اذهب من خلال بعض القواعد الاساسية مايكروسوفت دوس الاوامر التي تتم في معظم الأحيان. Just so everyone’s on the same page, you can get to the command prompt by going to Start and then click on Run and typing in CMD . عادل بحيث الجميع على نفس الصفحه ، يمكنك الحصول على الاوامر عن طريق الذهاب الى ابدا ثم انقر على تشغيل والطباعه في CMD.

الاوامر

You’ll now see a large black window with the cursor at the end of the path to your user profile in C:\Documents and Settings\Username. عليك الآن انظر كبير اسود نافذة مع المؤشر في نهاية الطريق الى ملف تعريف المستخدم الخاص بك في ج : \ المستندات والاعدادات \ اسم المستخدم. So what to do now!? ذلك ما نفعله الآن!؟ Well, since I can’t explain everything, you’ll probably want to end up using some of the help guides that are provided in MS DOS itself by typing in HELP and pressing Enter. حسنا ، وبما انني لا يمكن ان تفسر كل شيء ، you'll ربما تريد أن ينتهي الأمر باستخدام بعض من ادلة المساعدة التي قدمت في مايكروسوفت دوس نفسه بكتابة مساعدة ملحة وادخل.

When you do that, you’ll get a list of all the commands you can use in MS DOS and a short description of what they do: وعندما تفعل ذلك ، سوف تحصل على قائمة بجميع الاوامر التي يمكنك استخدامها في مايكروسوفت دوس وصفا موجزا لما يفعلونه :

مايكروسوفت دوس

You can also find out more detailed information about the parameters and how to use each command by typing in the command name followed by a /? . كما يمكنك معرفة المزيد من المعلومات المفصلة عن معالم وكيفية استخدام كل قيادة بكتابة اسم القيادة يعقبها /؟. For example, typing in CD /?, will present you with a quick tutorial on how to use the CD command: على سبيل المثال ، في الكتابة في قرص /؟ ، وسوف يقدم لكم سريعه مع امثلة توضيحيه عن كيفية استخدام قرص القيادة :

أوامر القيادة promt

As you can see from above, the MS DOS command CD displays the name of or changes the current directory. وكما ترون من فوق ، المشرق للاوراق المالية دوس قيادة المؤتمر لعرض اسم او التغيرات الحالية دليل. So if you wanted to change from the default user profile directory to let’s say the Windows System32 directory to delete a virus file, you would type in the following to navigate to that directory: لذا اذا كنت تريد ان تغير من التقصير بروفايل المستخدم دليل على دعنا نقول system32 دليل ويندوز لحذف الفيروس الملف ، كنت أكتب التالي للانتقال الى ذلك الدليل :

cd c:\window\system32 and press Enter قرص ج : \ نافذة \ system32 واضغط مفتاح الادخال

You current directory at the prompt will now change to: لكم الحالية دليل على التغير السريع الى الآن :

مايكروسوفت دوس الاوامر

Now that you are in that directory, you may want to view all of the files and directories first, so you can type in the command DIR and press Enter. أنت الآن إن في ذلك الدليل ، قد تريد عرض كل الملفات والادله الاولى ، بحيث يمكنك ان تكتب في دير القيادة والصحافة تدخل. You’ll now get a giant list of all of the files and folders in that directory. يمكنك الان الحصول على قائمة بجميع العملاقه من الملفات والمجلدات في ذلك الدليل. You can type in DIR /? and see what parameters you can pass to it. يمكنك ان تكتب في دير /؟ المعالم وانظر ما يمكنك تمرير اليها.

دير السيدة دوس القيادة

As you can see, you could type in DIR /P to give the list in a paginated format that you can browse through slowly. كما ترون ، امكنكم النوع في دير / ف اعطاء قائمة في شكل مرقم صفحات يمكنك ان تصفح عن طريق ببطء. Or you could type in DIR /W to get the list in a wide format rather than one single column. أو يمكن لكم النوع في دير / ث لأحصل على قائمة في شكل واسع بدلا من عمود واحد. The cool thing about DOS is that you can include several parameters for each command, so you could type in DIR /P /W and get a page by page view along with wide format: البروده ما أسفرت عنه هو دوس يمكنك ان تشمل عدة معالم كل القيادة ، حتى يمكن لكم النوع في دير / ف / ث ، والخروج بها صفحة صفحة الرأي على نطاق واسع الى جانب الشكل :

دير دوس القيادة

There are lots of other commands that you can use to do all sorts of stuff like copy files, make directories, print text files, delete files, etc. So if you can do most of this stuff in Windows using the GUI interface, then why bother with DOS, right? هناك الكثير من الأوامر الاخرى التي يمكنك استخدامها للقيام بكل انواع الاشياء مثل نسخ ملفات ، وتقديم الادله ، وطباعة ملفات نصية ، حذف الملفات ، الخ حتى لو كنت تستطيع أن تفعل أكثر من هذه الاشياء في ويندوز باستخدام GUI بينية ، ثم لماذا تضايق مع دوس ، والحق؟

Well, the cool thing is that any command you type in the command prompt, like we showed above, can be saved into a file with a .BAT extension and run anytime by just clicking on the file or can be scheduled to run using the Windows Scheduled Tasks Control Panel applet. حسنا ، البروده شيء هو أن أي قيادة تكتبها الأوامر ، مثل اظهرنا اعلاه ، يمكن انقاذه الى ملف خاص مع آ. خفاش التمديد والبعيد في أي وقت عن طريق النقر فقط على الملف او يمكن ان يكون من المقرر ان يستمر استخدام ويندوز من المقرر ان المهام بريمج لوحة التحكم.

So if you want to be able to routinely perform some simple actions on your computer, like copying files from one folder to another, just type the commands into Notepad and save the file with a .BAT extension instead of as a text file. لذلك اذا اردت ان تكون قادرة على اداء روتيني بعض الاجراءات البسيطة على جهاز الكمبيوتر لديك ، مثل نسخ الملفات من مجلد واحد الى آخر ، فقط أكتب الاوامر في المفكره وحفظ الملف مع آ. خفاش بدلا من التمديد كما نص الملف. Basically, you have to choose All Files for the File Type option and then type in the name like “MyFile.bat” with the quotes included. اساسا ، عليك ان تختار جميع الملفات لنوع الملف والخيار ثم اكتب في اسم مثل "myfile.bat" مع الاقتباسات المدرجه.

خفاش الملف

A couple of other very useful commands that you might have to end up using are listed below: زوجان من اوامر اخرى مفيدة جدا ان كنت قد ينتهي باستخدام مدرجة ادناه :

  • chkdsk - Verifies a hard disk or a floppy disk for file system integrity. Chkdsk -- ا يتحقق القرص الصلب او القرص المرن لنظام الملفات النزاهه.
  • copy - Copies files from one location to another. نسخة -- نسخ الملفات من موقع الى آخر. The destination defaults to the current directory. المقصد الافتراضيات الحالي الى دليل. If there are multiple source files, the destination must be a directory or else you will get an error. اذا كانت هناك ملفات متعددة المصدر ، ويجب ان يكون المقصد او دليل اخر ستحصل على خطأ.
  • fc - Compares two files or sets of files and displays the differences between them اف سي -- يقارن بين اثنين من الملفات او مجموعات من الملفات ويعرض للخلافات بينهما
  • fdisk - Manipulates hard disk partition tables. Fdisk -- يعالج القرص الصلب تقسيم الجداول. When run from the command line, it displays a menu of various partitioning operations. عند تشغيلها من سطر الاوامر ، فانه يعرض قائمة من مختلف عمليات التقسيم.
  • format - Delete all the files on the disk and reformat it for MS-DOS. الشكل -- حذف كل الملفات على القرص واعادة صياغتها لانها مايكروسوفت دوس. Use mostly for formatting floppy disks or other removable disks. استخدام معظمها لتهيئة الاقراص المرنه أو الأقراص الاخرى للازالة.
  • scandisk - Disk diagnostic utility that is a replacement for the CHKDSK utility. تفحص -- القرص تشخيص المنفعه التي هي بديل للchkdsk المنفعه.
  • SFC - System File Checker - Scans all protected system files and replaces incorrect versions with correct file versions. Sfc -- نظام ملف مدقق -- مسح جميع ملفات النظام المحميه ومحل النسخ غير صحيحة مع تصحيح نسخ الملف.

That should hopefully get you up and running on how to use and navigate in the MS DOS command prompt! ينبغي ان نأمل ان تحصل على قائمة وعاملة على كيفية استخدام وتبحر في مايكروسوفت دوس الاوامر! If you have a question, please post a comment! اذا كان لديك سؤال ، الرجاء ارسال تعليق! Enjoy! يتمتع!

Technorati Tags: Technorati البطاقات : , ، , ، , ،

If you enjoyed this post, make sure you اذا كنت تتمتع هذه الوظيفة ، تأكد من انك subscribe to my RSS feed اشترك في بلدي [رس] تغذية ! !

» Filed Under »المقدمة تحت Computer Tips نصائح الكمبيوتر

Related Posts الوظائف ذات الصلة

Please post your comments/suggestions! الرجاء ظيفة تعليقاتكم / اقتراحات!