How do i make the cmd (a batch file) only use the first 4 input letters? The Next CEO of Stack...

What exact does MIB represent in SNMP? How is it different from OID?

Is micro rebar a better way to reinforce concrete than rebar?

What happened in Rome, when the western empire "fell"?

What is "(CFMCC)" on an ILS approach chart?

Are there any unintended negative consequences to allowing PCs to gain multiple levels at once in a short milestone-XP game?

Can I equip Skullclamp on a creature I am sacrificing?

In excess I'm lethal

Can we say or write : "No, it'sn't"?

Why does the UK parliament need a vote on the political declaration?

Return the Closest Prime Number

Novel about a guy who is possessed by the divine essence and the world ends?

How do I transpose the first and deepest levels of an arbitrarily nested array?

What happens if you roll doubles 3 times then land on "Go to jail?"

Received an invoice from my ex-employer billing me for training; how to handle?

If the heap is initialized for security, then why is the stack uninitialized?

Is it possible to search for a directory/file combination?

sp_blitzCache results Memory grants

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

How did people program for Consoles with multiple CPUs?

Multiple labels for a single equation

Is it professional to write unrelated content in an almost-empty email?

Why do we use the plural of movies in this phrase "We went to the movies last night."?

Why does standard notation not preserve intervals (visually)

Should I tutor a student who I know has cheated on their homework?



How do i make the cmd (a batch file) only use the first 4 input letters?



The Next CEO of Stack OverflowBatch file to open multiple cmd promptsBatch file with changing drive lettersMake Batch File Cmd Window Stay Open For X SecondsPart filename to folderwhen executing batch file cmd only outputs so muchCMD Command Prompt DIR Batch FileWindows cmd: escape commands to start cmd from batch file, executing commands that add to PATHBatch file input issues on remote computerinput same line as echo batch fileRewrite the first three characters of *.ext file names in a folder with a set of letters












0















so i'm making a kind of code decryption program. But i can't figure out how to make it read more than one letter at the time ex.



:::./::::/.:..



this text says "hej" (a Danish word)
so every letter in the alphabet has 4 "dots" and "/" separates a letter but how do i then make it stop at the first 4 "dots" then calculate what letter that is, and then move on to the next section of the word?
(all the " are not in the code)



Rules of the system:
/ = separation between a letter
- = separation between a word
. = a part of a letter
: = a part of a letter
* = a part of a letter
' = a part of a letter









share







New contributor




Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    so i'm making a kind of code decryption program. But i can't figure out how to make it read more than one letter at the time ex.



    :::./::::/.:..



    this text says "hej" (a Danish word)
    so every letter in the alphabet has 4 "dots" and "/" separates a letter but how do i then make it stop at the first 4 "dots" then calculate what letter that is, and then move on to the next section of the word?
    (all the " are not in the code)



    Rules of the system:
    / = separation between a letter
    - = separation between a word
    . = a part of a letter
    : = a part of a letter
    * = a part of a letter
    ' = a part of a letter









    share







    New contributor




    Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      so i'm making a kind of code decryption program. But i can't figure out how to make it read more than one letter at the time ex.



      :::./::::/.:..



      this text says "hej" (a Danish word)
      so every letter in the alphabet has 4 "dots" and "/" separates a letter but how do i then make it stop at the first 4 "dots" then calculate what letter that is, and then move on to the next section of the word?
      (all the " are not in the code)



      Rules of the system:
      / = separation between a letter
      - = separation between a word
      . = a part of a letter
      : = a part of a letter
      * = a part of a letter
      ' = a part of a letter









      share







      New contributor




      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      so i'm making a kind of code decryption program. But i can't figure out how to make it read more than one letter at the time ex.



      :::./::::/.:..



      this text says "hej" (a Danish word)
      so every letter in the alphabet has 4 "dots" and "/" separates a letter but how do i then make it stop at the first 4 "dots" then calculate what letter that is, and then move on to the next section of the word?
      (all the " are not in the code)



      Rules of the system:
      / = separation between a letter
      - = separation between a word
      . = a part of a letter
      : = a part of a letter
      * = a part of a letter
      ' = a part of a letter







      command-line batch





      share







      New contributor




      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      GabrielGabriel

      1




      1




      New contributor




      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Gabriel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Gabriel is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1419277%2fhow-do-i-make-the-cmd-a-batch-file-only-use-the-first-4-input-letters%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Gabriel is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Gabriel is a new contributor. Be nice, and check out our Code of Conduct.













          Gabriel is a new contributor. Be nice, and check out our Code of Conduct.












          Gabriel is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1419277%2fhow-do-i-make-the-cmd-a-batch-file-only-use-the-first-4-input-letters%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...