What would the batch equivalent of Python's “pass” argument be? The Next CEO of Stack...

How does the mv command work with external drives?

Why has the US not been more assertive in confronting Russia in recent years?

Would a galaxy be visible from outside, but nearby?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

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

What is the result of assigning to std::vector<T>::begin()?

Anatomically Correct Strange Women In Ponds Distributing Swords

RegionPlot of annulus gives a mesh

Bold, vivid family

How to add tiny 0.5A 120V load to very remote split phase 240v 3 wire well house

Sending manuscript to multiple publishers

sp_blitzCache results Memory grants

Contours of a clandestine nature

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

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Skipping indices in a product

Is "for causing autism in X" grammatical?

Non-deterministic sum of floats

Complex fractions

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

What was the first Unix version to run on a microcomputer?

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

WOW air has ceased operation, can I get my tickets refunded?

Several mode to write the symbol of a vector



What would the batch equivalent of Python's “pass” argument be?



The Next CEO of Stack OverflowCommand-line Resource Monitor for Windows?How can I launch batch files from another batch file while piping their output and retaining the current working directory?How to display console output when running program from command promptWhat is the equivalent of bash's !$ and !! in the fish shell?Windows batch file, Looping through files in folder to create a parameter list to pass into another scriptWindows batch: Get the first folder name starting with some value?windows batch complex -o parameter for youtube-dl - how to properly format?Why this multiline for/in/do doesn't work in a batch?Using percent signs (%) in echo statement on same line as IF conditional check of variableTimeout on command(s) in batch script for windows?












0















I'm attempting to make a batch file that simplifies the command line just a little. The problem I'm running into is that, following an error check system I made, I don't want anything to happen with "else".



I need an equivalent to the pass argument that Python has; an argument that lets the interpreter know not to do anything and to wait until the next line with instructions is stated.



Is there a batch equivalent to this? If not, is there an easy way to do such a thing?










share|improve this question







New contributor




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
















  • 2





    Welcome to SuperUser. What have you tried so far? Can you provide a code sample that is not doing what you expect/desire it to do? From your explanation, it sounds like you want to skip the Else portion of a conditional. If I'm understanding your need correctly, you won't need to do anything. Just leave out the Else portion -- it is optional.

    – Doug Deden
    1 hour ago
















0















I'm attempting to make a batch file that simplifies the command line just a little. The problem I'm running into is that, following an error check system I made, I don't want anything to happen with "else".



I need an equivalent to the pass argument that Python has; an argument that lets the interpreter know not to do anything and to wait until the next line with instructions is stated.



Is there a batch equivalent to this? If not, is there an easy way to do such a thing?










share|improve this question







New contributor




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
















  • 2





    Welcome to SuperUser. What have you tried so far? Can you provide a code sample that is not doing what you expect/desire it to do? From your explanation, it sounds like you want to skip the Else portion of a conditional. If I'm understanding your need correctly, you won't need to do anything. Just leave out the Else portion -- it is optional.

    – Doug Deden
    1 hour ago














0












0








0








I'm attempting to make a batch file that simplifies the command line just a little. The problem I'm running into is that, following an error check system I made, I don't want anything to happen with "else".



I need an equivalent to the pass argument that Python has; an argument that lets the interpreter know not to do anything and to wait until the next line with instructions is stated.



Is there a batch equivalent to this? If not, is there an easy way to do such a thing?










share|improve this question







New contributor




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












I'm attempting to make a batch file that simplifies the command line just a little. The problem I'm running into is that, following an error check system I made, I don't want anything to happen with "else".



I need an equivalent to the pass argument that Python has; an argument that lets the interpreter know not to do anything and to wait until the next line with instructions is stated.



Is there a batch equivalent to this? If not, is there an easy way to do such a thing?







windows command-line batch






share|improve this question







New contributor




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











share|improve this question







New contributor




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









share|improve this question




share|improve this question






New contributor




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









asked 1 hour ago









EarthToAccessEarthToAccess

11




11




New contributor




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





New contributor





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






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








  • 2





    Welcome to SuperUser. What have you tried so far? Can you provide a code sample that is not doing what you expect/desire it to do? From your explanation, it sounds like you want to skip the Else portion of a conditional. If I'm understanding your need correctly, you won't need to do anything. Just leave out the Else portion -- it is optional.

    – Doug Deden
    1 hour ago














  • 2





    Welcome to SuperUser. What have you tried so far? Can you provide a code sample that is not doing what you expect/desire it to do? From your explanation, it sounds like you want to skip the Else portion of a conditional. If I'm understanding your need correctly, you won't need to do anything. Just leave out the Else portion -- it is optional.

    – Doug Deden
    1 hour ago








2




2





Welcome to SuperUser. What have you tried so far? Can you provide a code sample that is not doing what you expect/desire it to do? From your explanation, it sounds like you want to skip the Else portion of a conditional. If I'm understanding your need correctly, you won't need to do anything. Just leave out the Else portion -- it is optional.

– Doug Deden
1 hour ago





Welcome to SuperUser. What have you tried so far? Can you provide a code sample that is not doing what you expect/desire it to do? From your explanation, it sounds like you want to skip the Else portion of a conditional. If I'm understanding your need correctly, you won't need to do anything. Just leave out the Else portion -- it is optional.

– Doug Deden
1 hour ago










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
});


}
});






EarthToAccess 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%2f1419229%2fwhat-would-the-batch-equivalent-of-pythons-pass-argument-be%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








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










draft saved

draft discarded


















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













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












EarthToAccess 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%2f1419229%2fwhat-would-the-batch-equivalent-of-pythons-pass-argument-be%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...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...