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.

Batch: call soll Parameter mit Prozentzeichen übergeben

Empfohlene Antworten

Veröffentlicht

Hallo Gemeinde,

ich komm grad nicht weiter. Ich hab zwei Batches. Den Caller:

call echo.bat "%a"
Und die echo.bat:
echo %1

pause

Irgendwie bekom ich das nicht hin das der das Prozentzeichen einfach übergibt. Statt der Ausgabe "%a" gibt er nur noch "a" aus. Gibt es da einen Trick? Die Variante "%%a" hatte ich schon versucht, aber die geht leider auch nicht. Auch ^&%a tut nicht. Bei google hab ich jetzt nix weiterhelfendes gefunden.

Bearbeitet von User\Root

  • Autor

Nun ja, um Ehrlich zu sein ist das nur ein Testscript um die funktionalität später mit mehreren parametern zu nutzen.

Was z.B. cool wäre wenn man später komplette Befehlszeilen als Parameter über das call übergeben könnte.:

Xcopy %username%\%%1 %userprofile%\%%2

Also wäre es schon wünschenswert wenn man dort die %-Zeichen als übergabe-Zeichen festlegen könnte.

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.