BATCH REG QUERY CSV
Résolu
Lol42
Messages postés
10
Date d'inscription
Statut
Membre
Dernière intervention
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour,
Lorsque j'exécute la commande suivante:
req query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > test.csv
Cela fonctionne à merveille.
Ma question est:
Comment exécuter ceci par un batch?
Merci
Lorsque j'exécute la commande suivante:
req query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > test.csv
Cela fonctionne à merveille.
Ma question est:
Comment exécuter ceci par un batch?
Merci
A voir également:
- BATCH REG QUERY CSV
- Reg cleaner - Télécharger - Nettoyage
- Power query download - Télécharger - Tableur
- Fichier batch - Guide
- Batch converter - Télécharger - Photo & Graphisme
- Reg edit - Guide
5 réponses
Lol42
Messages postés
10
Date d'inscription
Statut
Membre
Dernière intervention
Non justement ça ne fonctionne pas :(
Hum..
Batch ça pour voir :
Req Query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > test.txt
Batch ça pour voir :
Req Query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > test.txt
C'est nul le batch x).
Tu ne veux pas que je te file le code en Autoit :) ?
Teste :
if exist C:\test.txt (del C:\test)
Req Query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > C:\test.txt
Désolé je ne suis pas très fort en batch,je préfère le shell.
?? Saachaa ?
Contributeur CCM
Tu ne veux pas que je te file le code en Autoit :) ?
Teste :
if exist C:\test.txt (del C:\test)
Req Query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > C:\test.txt
Désolé je ne suis pas très fort en batch,je préfère le shell.
?? Saachaa ?
Contributeur CCM
C'est bon finalement ça fonctionne (sans trop que je sache pourquoi ça clochait..
Au cas où quelqu'un ait besoin..!!
Merci encore Saachaa :)
if defined %ProgramFiles(x86)% ( goto 64bits ) else ( goto 32bits ) :32bits reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall > test.csv :64bits reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall > test.csv
Au cas où quelqu'un ait besoin..!!
Merci encore Saachaa :)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question