• 建立快捷方式应用程序的设计是一个小的程序,使得能够建立快捷程序从命令或者一只蝙蝠/cmd文件。 可以任意用于任何人写bat/cmd文件CreateShortcut给回returncode的。 你可以使用这returncode通过使用等级中的蝙蝠/cmd文件。 表1显示了returncodes及其含义。

    你控制CreateShortcut由一定数量的命令行参数(se使用情况下)。 至少必须提供以CreateShortcut做一个快捷的路径,以快捷方式文件(包括"。lnk")和什么样的程序,应开始时的快捷方式是使用。 为此,你使用的参数-l XXX,p YYY的。 请记住,如果文件路径包含空间,你必须使用quotationmarks(")。

    使用 CreateShortcut[-h-o-q-l LinkFile-p程序[w WorkingDir][一论据]

    参数:

    -h显示了这helpscreen并不创建的捷径

    -o复盖现有快捷方式

    q安静,不要表演的节目信息

    -我快捷方式来创建。lnk扩展

    -p快捷的程序,应当参考

    -w工作目录的程序在命令

    -一个参数的程序的命令

    例如:

    CreateShortcut-q-我顾客的。lnk-p notepad.exe -一个"c:程序的文件eadme.txt"

  • बनाएँ शॉर्टकट आवेदन डिजाइन किया गया था होना करने के लिए एक छोटे से प्रोग्राम है कि बनाता है यह संभव करने के लिए शॉर्टकट बनाने के लिए कार्यक्रमों में से एक कमांड प्रॉम्प्ट या एक बल्ला / cmd फ़ाइल है । करने के लिए किसी भी उपयोग किया जा करने के लिए किसी को भी, जो लिखते हैं, बैट / सीएमडी फ़ाइलें CreateShortcut वापस देता है एक returncode. आप उपयोग कर सकते हैं इस returncode का उपयोग करके ERRORLEVEL में bat/cmd फ़ाइल है । तालिका 1 से पता चलता है returncodes और उनके अर्थ ।

    आप नियंत्रण CreateShortcut की एक संख्या के द्वारा commandline तर्क (एसई के उपयोग के नीचे). बहुत कम से कम आप होना चाहिए की आपूर्ति करने के लिए CreateShortcut एक शॉर्टकट बनाने के लिए रास्ता है करने के लिए शॉर्टकट फ़ाइल (सहित ".lnk") और क्या है कि कार्यक्रम शुरू किया जाना चाहिए जब शॉर्टकट का प्रयोग किया जाता है. आप इस के लिए उपयोग तर्क -एल और पी YYY. रखने में मन है कि अगर filepath अंतरिक्ष में शामिल आप का उपयोग करना चाहिए quotationmarks (") यह चारों ओर.

    उपयोग CreateShortcut [-एच -ओ -क्यू] -एल LinkFile -p प्रोग्राम [डब्ल्यू WorkingDir] [-एक तर्क]

    तर्क:

    -घंटा की रफ्तार दिखाने के लिए इस helpscreen और नहीं बनाने के लिए शॉर्टकट

    -ओ अधिलेखित मौजूदा शॉर्टकट

    -क्यू चुप, नहीं दिखाने के कार्यक्रम की जानकारी

    -एल शॉर्टकट बनाने के लिए के साथ .lnk-विस्तार

    -p प्रोग्राम है कि शॉर्टकट का उल्लेख करना चाहिए करने के लिए

    -डब्ल्यू कार्य निर्देशिका कार्यक्रम के लिए आदेश में

    -एक तर्क इस कार्यक्रम के लिए आदेश में

    उदाहरण:

    CreateShortcut -q -l MyLink.lnk -p notepad.exe -एक "c:प्रोग्राम फ़ाइलें eadme.txt"

  • Create Shortcut application was designed to be a small program that makes it possible to create shortcuts to programs from a command prompt or a bat / cmd file. To be of any use to anyone who writes bat / cmd files CreateShortcut gives back a returncode. You can use this returncode by using ERRORLEVEL in the bat/cmd file. Table 1 shows the returncodes and their meaning.

    You control CreateShortcut by a number of commandline arguments (se Usage below). The very least you must supply to CreateShortcut to make a shortcut is the path to the shortcut file (including ".lnk") and what program that should be started when the shortcut is used. For this you use the arguments -l XXX and -p YYY. Keep in mind that if the filepath contains space you must use quotationmarks (") around it.

    Usage CreateShortcut [-h -o -q] -l LinkFile -p Program [-w WorkingDir] [-a Arguments]

    Arguments:

    -h Show this helpscreen and don't create shortcut

    -o Overwrite existing shortcut

    -q Quiet, don't show program information

    -l Shortcut to create with .lnk-extension

    -p Program that the shortcut should refer to

    -w Working directory for the program in Command

    -a Arguments to the program in Command

    Example:

    CreateShortcut -q -l MyLink.lnk -p notepad.exe -a "c:program files eadme.txt"