Aller au contenu
View in the app

A better way to browse. Learn more.

Next

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.

[Résolu] [Batch] Substitution de variable

Featured Replies

Posté(e)

Bonjour,

Je fais du batch (cmd) sous Windows XP. J'ai une variable contenant un nom de fichier (avec son arborescence complète).

Elle est stockée dans la variable %a, et je souhaiterais simplement récupérer le nom du fichier et son extension. En lisant cete page (http://www.hotline-pc.org/batch.htm#2301) j'ai vu qu'on pouvait le faire avec ceci :

%~nxa : développe %a en nom de fichier et une extension seulement.

Malheureusement cela me donne également "d-------" devant le nom du fichier, ce qui est très gênant.

Auriez-vous une solution pour n'obtenir QUE le nom de fichier et son extension ?

Merci.

Posté(e)
  • Auteur

Euh en fait ça marche très bien. Je ne sais pas ce que je faisais ce matin mais il était temps que j'aille manger. Du coup désolé d'avoir créer un post inutilement.

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.