Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[CMD] Ausgabe in Variable schreiben

Empfohlene Antworten

Hi!

Wie erreiche ich es, dass mit die Kommandozeile von W2K3 die Ausgabe eines Befehls in eine Variable schreibt? Beispiel:


c:\> set foo=echo "Hallo Welt"

c:\> echo %foo%

Hallo Welt

c:\>

Geht das?

Gruß und Danke, Tobi

Ja,

mit dem for - Befehl :

for /f "tokens=1,2*" %%a in ('date /t') do set date=%%b

Hier mit dem Beispiel date (findet sich auch oft in der Suche),

einfach date /t durch echo ersetzen , eventuell noch die tokens anpassen.

Gruß

Terran (der kein Windows zum testen vor Ort hat)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.