Search the Community
Showing results for tags 'windows command'.
-
I can really used some help from someone to spot what I am doing wrong. I am working on a major project, and I need to redirect output from the built-n Windows 10 Bitlocker Manage-bde.exe to a text file. I am starting-off with a very basic example which simply displays the Bitlocker status information. Either one of these commands work perfectly fine showing you the results in the CONSOLE-TEXT.txt text file which it creates in the current directory when I run it in an elevated command window or in a batch file (run as admin). manage-bde.exe -status C: >.\CONSOLE-TEXT.txt cmd.exe /c C:\Windows\System32\manage-bde.exe -status C: >.\CONSOLE-TEXT.txt If I place the first command seen above exactly as-is into AutoIt like the following, then it does nothing: RunWait('manage-bde.exe -status C: >.\CONSOLE-TEXT.txt') If I place the second command seen above exactly as-is into AutoIt like the following, then it creates the CONSOLE-TEXT.txt file but it is completely blank: RunWait('cmd.exe /c C:\Windows\System32\manage-bde.exe -status C: >.\CONSOLE-TEXT.txt')) Other Comments I ran the commands and script from "C:\Temp" so there were no issues with spaces in the command-line This is running on Windows 10 build 1709 I tried reading the Standard output from within AutoIt but I'm not sure that I did it right or even fully understand how that all works from within AutoIt. I'm an old timer from the DOS days, so the basic ">" redirection doesn't take a lot of understanding to know what it does. Please help someone!