{"id":797,"date":"2025-02-03T10:00:00","date_gmt":"2025-02-03T09:00:00","guid":{"rendered":"https:\/\/jebtec.de\/blog\/?p=797"},"modified":"2024-12-31T08:22:03","modified_gmt":"2024-12-31T07:22:03","slug":"windows-ordner-erstellen-mittels-excel","status":"publish","type":"post","link":"http:\/\/jebtec.de\/blog\/2025\/02\/03\/windows-ordner-erstellen-mittels-excel\/","title":{"rendered":"Windows-Ordner erstellen mittels Excel"},"content":{"rendered":"\n<p>Einen Ordner im Explorer anlegen? Kein Problem! Rechte Maustaste klicken, auf &#8222;Neu&#8220; \/ &#8222;Ordner&#8220; mit der linken Maustaste klicken, den Ordnernamen vergeben, Fertig. <\/p>\n\n\n\n<p>Zwei Ordner Ordner anlegen? Der Weg ist klar. So wie gerade beschrieben.<br>10 Ordner anlegen? Kann man genauso anlegen, aber wird anstrengend?<br><br>200 Ordner anlegen? Nein bitte nicht! Oder gibt es da nicht was mit Excel?<br>Ja gibt es. Und wie das funktioniert, damit besch\u00e4ftigt sich der folgende Beitrag.<\/p>\n\n\n\n<p>F\u00fcr unser Beispiel reichen erst einmal 52 Ordner aus. Die Aufgabenstellung ist Ordner f\u00fcr ein Kalenderjahr anzulegen, die mit <strong>KW<\/strong> sowie der <strong>Kalenderwoche<\/strong> bezeichnet werden sollen.<\/p>\n\n\n\n<p>Zuerst wird eine leere Exceldatei ge\u00f6ffnet. In der 1. Spalte wird das Wort <strong>md<\/strong> geschrieben, in der 2. Spalte das Wort <strong>KW<\/strong> und in der 3. Spalte die <strong>Zahl 1<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"337\" height=\"80\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_md_KW_1.png\" alt=\"Bild eingabe md und Ordnername\n\" class=\"wp-image-836\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_md_KW_1.png 337w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_md_KW_1-300x71.png 300w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/figure>\n\n\n\n<p>Anschlie\u00dfend wird alles mittels der Funktion <strong>Verketten()<\/strong> in der Spalte D verbunden.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"871\" height=\"116\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_verketten_spalten.png\" alt=\"Spalten mit Funktion verketten\" class=\"wp-image-837\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_verketten_spalten.png 871w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_verketten_spalten-300x40.png 300w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_verketten_spalten-768x102.png 768w\" sizes=\"auto, (max-width: 871px) 100vw, 871px\" \/><\/figure>\n\n\n\n<p>Da insgesamt 52 Ordner ben\u00f6tigt werden, wird die erste Zeile in die n\u00e4chsten 51 Zeilen kopiert. Hierzu beziehe ich mich f\u00fcr die <strong>Spalte A<\/strong> und <strong>B<\/strong> auf die <strong>Zeile 1<\/strong>, f\u00fcr die <strong>Spalte C<\/strong> lasse ich den Wert der dar\u00fcberliegenden Zeile immer <strong>um 1 aufaddieren<\/strong> und f\u00fcr die <strong>Spalte D<\/strong> wird weiterhin die Funktion <strong>Verketten()<\/strong> genutzt.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"112\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Formel_verketten_weiteranwenden.png\" alt=\"Formel weiter kopieren\" class=\"wp-image-838\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Formel_verketten_weiteranwenden.png 956w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Formel_verketten_weiteranwenden-300x35.png 300w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Formel_verketten_weiteranwenden-768x90.png 768w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"443\" height=\"227\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Ergebnis_kopieren.png\" alt=\"Bild Funktion verketten kopieren\" class=\"wp-image-839\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Ergebnis_kopieren.png 443w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Ergebnis_kopieren-300x154.png 300w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/figure>\n\n\n\n<p><em><sub>Hinweis: Beim L\u00f6sungsbild wurden die Zeilen 7-49 ausgeblendet<\/sub><\/em><\/p>\n\n\n\n<p>Anschlie\u00dfend wird die <strong>Spalte D<\/strong> in eine Textdatei kopiert. Hierf\u00fcr wird Notepad genutzt.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"367\" height=\"548\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Notepad_Datei.png\" alt=\"Bild Kopie nach Notepad\" class=\"wp-image-842\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Notepad_Datei.png 367w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Notepad_Datei-201x300.png 201w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/figure>\n\n\n\n<p>Jetzt wird die Datei gespeichert, per <em><strong>Datei\/Speichern unter<\/strong><\/em> in dem Ordner, in welchem die neuen Ordner erstellt werden sollen. Als <em>Dateityp<\/em> muss unbedingt &#8222;<strong>Alle Dateien<\/strong>&#8220; ausgew\u00e4hlt werden und die Dateiendung <strong>&#8222;.bat&#8220;<\/strong> (anstatt &#8222;.txt&#8220;). <br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"533\" height=\"83\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Dateiname.png\" alt=\"Bild Datei anlegen\" class=\"wp-image-843\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Dateiname.png 533w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_Dateiname-300x47.png 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"196\" height=\"42\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_ordnerDatei.png\" alt=\"Bild Ordneranlegen Datei\" class=\"wp-image-846\"\/><\/figure>\n\n\n\n<p>Zum Schluss muss die Datei noch ausgef\u00fchrt werden (Enter oder Doppelklick mit der linken Maustaste) und die Ordner werden automatisch angelegt.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"292\" height=\"428\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_angelegte_Ordner.png\" alt=\"Bild automatisch angelegte Ordner\" class=\"wp-image-847\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_angelegte_Ordner.png 292w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2024\/12\/Bild_angelegte_Ordner-205x300.png 205w\" sizes=\"auto, (max-width: 292px) 100vw, 292px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong><em>Zusatzwissen<\/em><\/strong><br>Was bedeutet <strong>md<\/strong>? Mit dem Befehl <em><strong>md<\/strong><\/em> (make directory englisch f\u00fcr <em>Ordner anlegen<\/em>) wird ein neuer Ordner angelegt. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Einen Ordner im Explorer anlegen? Kein Problem! Rechte Maustaste klicken, auf &#8222;Neu&#8220; \/ &#8222;Ordner&#8220; mit der linken Maustaste klicken, den Ordnernamen vergeben, Fertig. Zwei Ordner &#8230;<\/p>\n","protected":false},"author":2,"featured_media":852,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[95,105,93,94],"class_list":["post-797","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-anwendungen","tag-funktion-verketten","tag-md","tag-ordner-erstellen","tag-verketten"],"_links":{"self":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/comments?post=797"}],"version-history":[{"count":11,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":853,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions\/853"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/media\/852"}],"wp:attachment":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/categories?post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}