Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RunConsole2
#4
str s=
cd C:\WINDOWS\system32
manage-bde -status
__TempFile f.Init(".bat" "" "" s)
RunConsole2 f

gives:

C:\WINDOWS\SysWOW64>cd C:\WINDOWS\system32
C:\Windows\System32>manage-bde -status
'manage-bde' is not recognized as an internal or external command,
operable program or batch file.

but in command prompt works. Also did the run macro as administrator in Macro properties.

Works with

Code:
Copy      Help
str s=
cd C:\Windows\SysNative\
manage-bde -status
__TempFile f.Init(".bat" "" "" s)
RunConsole2 f

Thank you for your time.


Messages In This Thread
RunConsole2 - by Valentin - 09-23-2018, 08:13 PM
RE: RunConsole2 - by Kevin - 09-23-2018, 08:48 PM
RE: RunConsole2 - by Gintaras - 09-24-2018, 06:41 AM
RE: RunConsole2 - by Valentin - 09-24-2018, 08:31 AM
RE: RunConsole2 - by Gintaras - 09-24-2018, 08:45 AM
RE: RunConsole2 - by Valentin - 09-24-2018, 08:54 AM
RE: RunConsole2 - by win - 11-07-2018, 01:41 PM
RE: RunConsole2 - by Gintaras - 11-07-2018, 02:27 PM
RE: RunConsole2 - by win - 11-07-2018, 09:34 PM
RE: RunConsole2 - by Gintaras - 11-07-2018, 09:55 PM
RE: RunConsole2 - by win - 11-07-2018, 10:08 PM
RE: RunConsole2 - by win - 11-08-2018, 10:47 PM
RE: RunConsole2 - by Gintaras - 11-08-2018, 10:52 PM
RE: RunConsole2 - by win - 11-08-2018, 10:55 PM
RE: RunConsole2 - by win - 11-09-2018, 01:06 AM
RE: RunConsole2 - by Gintaras - 11-09-2018, 06:32 AM
RE: RunConsole2 - by win - 11-09-2018, 01:49 PM
RE: RunConsole2 - by Gintaras - 11-09-2018, 01:58 PM
RE: RunConsole2 - by win - 11-09-2018, 02:25 PM
RE: RunConsole2 - by win - 11-09-2018, 11:18 PM
RE: RunConsole2 - by win - 11-12-2018, 10:53 PM
RE: RunConsole2 - by Kevin - 11-13-2018, 01:11 AM
RE: RunConsole2 - by win - 11-13-2018, 01:50 AM
RE: RunConsole2 - by win - 11-13-2018, 07:06 AM
RE: RunConsole2 - by Kevin - 11-13-2018, 11:05 PM
RE: RunConsole2 - by win - 11-13-2018, 11:33 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)