Bonjour,

voici comment je fais :
Code powershell : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition #path of the folder where is located the current script
 
$name=*SESAOK.csv
 
if (test-path $scriptPath\..\output_files\$name) {clear-content $scriptPath\..\output_files\$name}
mais
*SESAOK.csv : The term '*SESAOK.csv' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
comment faut faire ?