By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now![c:\utils]ver
TCC LE 14.00.9 Windows 7 [Version 6.1.7601]
[c:\utils]dir c:\bcdedit.exe /s/b/p
C:\Windows\winsxs\amd64_microsoft-windows-b..iondata-cmdlinetool_31bf3856ad364e35_6.1.7601.17514_none_e6510234bbcb2a8c\bcdedit
.exe
C:\Windows\winsxs\amd64_microsoft-windows-b..iondata-cmdlinetool_31bf3856ad364e35_6.1.7601.23572_none_e6978f6dd51b7569\bcdedit
.exe
[c:\utils]which bcdedit.exe
bcdedit.exe is an unknown command
c:\users\jlc\utils>ver
TCC 24.01.41 x64 Windows 7 [Version 6.1.7601]
c:\users\jlc\utils>which bcdedit.exe
bcdedit.exe is an external : C:\Windows\system32\bcdedit.exe
But I am calling the program directly in its path (c:\windows\ system32\bcdedit.exe / deletevalue {default} safeboot
c:\utils>bcdedit
'bcdedit' is not recognized as an internal or external command,
operable program or batch file.
c:\utils>c:\windows\system32\bcdedit.exe
'c:\windows\system32\bcdedit.exe' is not recognized as an internal or external command,
operable program or batch file.
c:\users\jlc\utils>file c:\windows\system32\bcdedit.exe
c:\windows\system32\bcdedit.exe: PE32+ executable (console) x86-64, for MS Windows
c:\windows\sysnative\bcdedit.exe
Not workOkay, I found a way to run bcdedit.exe from 32-bit TCC.EXE on a 64-bit OS, but do so at your own risk;Code:c:\windows\sysnative\bcdedit.exe
Joe
Not work
Sure they can ... once the program can be found.On a 64-bit system, 32-bit cmd.exe and 32-bit tcc.exe cannot run the 64-bit bcdedit.exe.
v:\> copy c:\Windows\system32\bcdedit.exe
C:\Windows\system32\bcdedit.exe => V:\bcdedit.exe
1 file copied
v:\> c:\Windows\SysWOW64\cmd
Microsoft Windows [Version 10.0.18346.1]
(c) 2018 Microsoft Corporation. All rights reserved.
v:\> v:\bcdedit.exe /?
BCDEDIT - Boot Configuration Data Store Editor
The Bcdedit.exe command-line tool modifies the boot configuration data store.
<SNIP>
TCC LE 14.00.9 Windows 7 [Version 6.1.7601]
Copyright 2016 JP Software Inc. All Rights Reserved
[c:\utils]copy c:\windows\system32\bcdedit.exe
TCC: (Sys) The system cannot find the file specified.
"C:\windows\system32\bcdedit.exe"
0 files copied
[c:\utils]copy c:\windows\sysnative\bcdedit.exe
C:\windows\sysnative\bcdedit.exe => C:\utils\bcdedit.exe
1 file copied
[c:\utils]nbtstat.exe
TCC: Unknown command "nbtstat.exe"
[c:\utils]dir %windir%\system32\nbtstat.exe
Volume in drive C is WINDOWS Serial number is h0h0:h0h0
TCC: (Sys) The system cannot find the file specified.
"C:\Windows\system32\nbtstat.exe"
0 bytes in 0 files and 0 dirs
550,583,676,928 bytes free
[c:\utils]dir %windir%\sysnative\nbtstat.exe
Volume in drive C is WINDOWS Serial number is h0h0:h0h0
Directory of C:\Windows\sysnative\nbtstat.exe
7/13/2009 20:39 17,920 nbtstat.exe
17,920 bytes in 1 file and 0 dirs 20,480 bytes allocated
550,583,152,640 bytes free