On windows 10, I try to run the command bdeHdCfg.exe in a winbatch section but i get a file not found.
Code: Alles auswählen
[Winbatch_1]
"c:\Windows\System32\bdehdcfg.exe" -target default
And if i try a fileExist :[4] [f?vr. 09 15:34:43:863] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:44:277] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:44:682] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:45:087] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:45:494] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:45:900] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:46:306] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:46:713] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:47:118] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:47:525] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
Code: Alles auswählen
if FileExists ("c:\Windows\System32\bdehdcfg.exe")
set $app$ = "c:\Windows\System32\bdehdcfg.exe"
endif
[5] [f?vr. 09 15:36:22:010] "c:\Windows\System32\bdehdcfg.exe":
[5] [f?vr. 09 15:36:22:017] FileExists ("c:\Windows\System32\bdehdcfg.exe") <<< result false
[6] [f?vr. 09 15:36:22:025] Then
But the file do exist :
Any idea??C:\Users\antarion>c:\Windows\System32\bdehdcfg.exe
BitLocker Drive Preparation Tool version 10.0.14393
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
Thanks for your help.