i want to create a folder using the md command and append the current date to itExplore current folder...

Mathematica command that allows it to read my intentions

Can the Meissner effect explain very large floating structures?

I would say: "You are another teacher", but she is a woman and I am a man

Do UK voters know if their MP will be the Speaker of the House?

iPad being using in wall mount battery swollen

Ambiguity in the definition of entropy

Can a virus destroy the BIOS of a modern computer?

Personal Teleportation: From Rags to Riches

Why can't we play rap on piano?

Is it acceptable for a professor to tell male students to not think that they are smarter than female students?

What exploit Are these user agents trying to use?

Why would the Red Woman birth a shadow if she worshipped the Lord of the Light?

How to prevent "they're falling in love" trope

Why doesn't using multiple commands with a || or && conditional work?

What's the in-universe reasoning behind sorcerers needing material components?

Why is this clock signal connected to a capacitor to gnd?

How dangerous is XSS?

What is a romance in Latin?

Detention in 1997

How do I gain back my faith in my PhD degree?

What does “the session was packed” mean in this context?

What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

Could the museum Saturn V's be refitted for one more flight?



i want to create a folder using the md command and append the current date to it


Explore current folder command?Regedit deleted and now want to restore it using cmdThe fastest way to open cmd in current folder by shortcut (windows 8/10)?How can I open a command prompt with administrative privilege in current folder with a keyboard shortcut?Windows 10 How to change “New Folder” default name for folders in explorer to current date and time?Use command prompt to change date and timeAccidentally Moved Download Folder while using mv command in WindowsNew folder default name to current dateIs it possible to create a new folder in Windows 10 with current date?How to check if the current batch file is in a specific folder?













1















I want to make a folder using the md command and append the current date.
md = c:dog %date% Which does not work.



how do I append the date?










share|improve this question







New contributor




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





















  • Do you have a particular standard for the date format that you need? Have you read this question and its answers: stackoverflow.com/questions/864718/…

    – music2myear
    1 hour ago
















1















I want to make a folder using the md command and append the current date.
md = c:dog %date% Which does not work.



how do I append the date?










share|improve this question







New contributor




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





















  • Do you have a particular standard for the date format that you need? Have you read this question and its answers: stackoverflow.com/questions/864718/…

    – music2myear
    1 hour ago














1












1








1








I want to make a folder using the md command and append the current date.
md = c:dog %date% Which does not work.



how do I append the date?










share|improve this question







New contributor




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












I want to make a folder using the md command and append the current date.
md = c:dog %date% Which does not work.



how do I append the date?







windows-10






share|improve this question







New contributor




Darl 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




Darl 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




Darl 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









DarlDarl

61




61




New contributor




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





New contributor





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






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













  • Do you have a particular standard for the date format that you need? Have you read this question and its answers: stackoverflow.com/questions/864718/…

    – music2myear
    1 hour ago



















  • Do you have a particular standard for the date format that you need? Have you read this question and its answers: stackoverflow.com/questions/864718/…

    – music2myear
    1 hour ago

















Do you have a particular standard for the date format that you need? Have you read this question and its answers: stackoverflow.com/questions/864718/…

– music2myear
1 hour ago





Do you have a particular standard for the date format that you need? Have you read this question and its answers: stackoverflow.com/questions/864718/…

– music2myear
1 hour ago










1 Answer
1






active

oldest

votes


















0














From a Command Line prompt, enter this command:



set var=DOG %date:~-4,4%%date:~-7,2%%date:~-10,2% && md "%var%"


This first creates a system variable 'var' with the value DOG 20190304

waits until that's done ('&&')

then creates a directory named with the contents of 'var'

The "doublequotemarks" are required because of the space between DOG and the date.






share|improve this answer


























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


    }
    });






    Darl 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%2f1421122%2fi-want-to-create-a-folder-using-the-md-command-and-append-the-current-date-to-it%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    From a Command Line prompt, enter this command:



    set var=DOG %date:~-4,4%%date:~-7,2%%date:~-10,2% && md "%var%"


    This first creates a system variable 'var' with the value DOG 20190304

    waits until that's done ('&&')

    then creates a directory named with the contents of 'var'

    The "doublequotemarks" are required because of the space between DOG and the date.






    share|improve this answer






























      0














      From a Command Line prompt, enter this command:



      set var=DOG %date:~-4,4%%date:~-7,2%%date:~-10,2% && md "%var%"


      This first creates a system variable 'var' with the value DOG 20190304

      waits until that's done ('&&')

      then creates a directory named with the contents of 'var'

      The "doublequotemarks" are required because of the space between DOG and the date.






      share|improve this answer




























        0












        0








        0







        From a Command Line prompt, enter this command:



        set var=DOG %date:~-4,4%%date:~-7,2%%date:~-10,2% && md "%var%"


        This first creates a system variable 'var' with the value DOG 20190304

        waits until that's done ('&&')

        then creates a directory named with the contents of 'var'

        The "doublequotemarks" are required because of the space between DOG and the date.






        share|improve this answer















        From a Command Line prompt, enter this command:



        set var=DOG %date:~-4,4%%date:~-7,2%%date:~-10,2% && md "%var%"


        This first creates a system variable 'var' with the value DOG 20190304

        waits until that's done ('&&')

        then creates a directory named with the contents of 'var'

        The "doublequotemarks" are required because of the space between DOG and the date.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 1 hour ago









        K7AAYK7AAY

        3,86921638




        3,86921638






















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










            draft saved

            draft discarded


















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













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












            Darl 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%2f1421122%2fi-want-to-create-a-folder-using-the-md-command-and-append-the-current-date-to-it%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

            Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

            Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

            Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...