خدعة لإنشاء ملف دفعي ms-dos بسيط. استكشف بقية هذه المقالة للحصول على مزيد من المعلومات حول كيفية القيام بذلك خطوة بخطوة.




Image titled Open Several Programs by One Click Step 1
1-
Open Notepad ("Start" menu > "Run" > type notepad > press Enter).
 Image titled Open Several Programs by One Click Step 2 
2-
Click on "File" > "Save As...", and name the file with a batch file extension (ie: "startmyprg.bat"). Save the file somewhere easily accessible such as your desktop. The .bat extension is a must in the name. 
 
3-
Type in the first line of the newly created file: @echo off
 Image titled Open Several Programs by One Click Step 4 
 
  1. Following lines should begin with "start", and contain a name of the executable file (.exe or .com) you want to include. For example: To run calculator, from your Windows "Start" menu, go to "Accessories", right click on calculator and select properties. Copy the shortcut path by highlighting it and pressing Ctrl-C. It should be similar to %SystemRoot%\system32\calc.exe
  2. Image titled Open Several Programs by One Click Step 5
    5
    Find all the programs you want to include. In this example, calculator and paintbrush are added, batch file will look like:

    @echo off
    start %SystemRoot%\system32\calc.exe
    start %SystemRoot%\system32\mspaint.exe
  3. Image titled Open Several Programs by One Click Step 6
    6
    Click on the "File" menu and select "Save" and close the file, your job is done.
  4. Image titled Open Several Programs by One Click Step 7
    7
    Go to the folder where you saved the file (the desktop in this example) and launch your newly created file (startmyprg.bat in this example) and enjoy.

ليست هناك تعليقات:

إرسال تعليق