I want to execute a powershell script file, it works but if I am in the same path that the script
....
$toto=(Get-ChildItem -Path "C:\Users\toto\Desktop\titi\tutu)
I work with the variable $toto
I execute the script from :
PS C:\Users\toto\Desktop\titi> C:\Users\toto\Desktop\titi\script.ps1 = it works
but when I am below s subdir, not knowing the current "working directory" :
C:\Users\toto\Desktop\ C:\Users\toto\Desktop\titi\script.ps1
how to resolve that please