For me your unmodified em_ext_swapfilenames works fine here
under actual Windows 10.
Moderators: white, Hacker, petermad, Stefan2
For me your unmodified em_ext_swapfilenames works fine here
Code: Select all
TOTALCMD#BAR#DATA
cmd /k
if not exist "%P" (ECHO errA) else if exist %P%S1\ (ECHO errB) else if not *%C3==* (ECHO errC) else if %C2==%T%S1 (ECHO errD) else if %C2==%P%S1 (ECHO errE) else echo Temp file for TC Extended Menu > %%TEMP%%\tc_ext.tmp && xcopy %C1 %%TEMP%%\tc_ext.tmp /H /R /K /Y && xcopy %C2 %C1 /H /R /K /Y && xcopy %%TEMP%%\tc_ext.tmp %C2 /H /R /K /Y && del %%TEMP%%\tc_ext.tmp /F /A
C:\windows\System32\imageres.dll,-68
Batch SWAP filenames
-1
Code: Select all
TOTALCMD#BAR#DATA
cmd /k
if not exist "%P" (ECHO errA) else if exist %P%S1\* (ECHO errB) else if not *%C3==* (ECHO errC) else if %C2==%T%S1 (ECHO errD) else if %C2==%P%S1 (ECHO errE) else echo Temp file for TC Extended Menu > %%TEMP%%\tc_ext.tmp && xcopy %C1 %%TEMP%%\tc_ext.tmp /H /R /K /Y && xcopy %C2 %C1 /H /R /K /Y && xcopy %%TEMP%%\tc_ext.tmp %C2 /H /R /K /Y && del %%TEMP%%\tc_ext.tmp /F /A
C:\windows\System32\imageres.dll,-68
Batch SWAP filenames
-1
Code: Select all
TOTALCMD#BAR#DATA
cmd /k
if not exist "%P" (echo •) else if exist %P%S1\* (echo •) else if not *%C3==* (echo •) else if %C2==%T%S1 (echo •) else if %C2==%P%S1 (echo •) else echo Temp file for TC Extended Menu > %%TEMP%%\tc_ext.tmp && xcopy %C1 %%TEMP%%\tc_ext.tmp /H /R /K /Y && xcopy %C2 %C1 /H /R /K /Y && xcopy %%TEMP%%\tc_ext.tmp %C2 /H /R /K /Y && del %%TEMP%%\tc_ext.tmp /F /A
C:\windows\System32\imageres.dll,-68
Batch SWAP filenames
-1
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /K
if exist %P%S1\ (echo FOLDER) else echo FILE
%COMMANDER_EXE%,2
Test for folder or file
-1
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /K
if exist %P%S1\* (echo FOLDER) else echo FILE
%COMMANDER_EXE%,2
Test for folder or file
-1
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001
"PathCompletionChar"=dword:00000009
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"CompletionChar"=dword:00000040
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001
"PathCompletionChar"=dword:00000040
Code: Select all
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001
"PathCompletionChar"=dword:00000009
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"CompletionChar"=dword:00000040
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001
"PathCompletionChar"=dword:00000040
Code: Select all
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001
"PathCompletionChar"=dword:00000009
Code: Select all
TOTALCMD#BAR#DATA
cmd /k
if not exist "%P" (echo •) else if exist %P%S1\* (echo •) else if not *%C3==* (echo •) else if %C2==%T%S1 (echo •) else if %C2==%P%S1 (echo •) else echo Temp file for TC Extended Menu > %%TEMP%%\tc_ext.tmp && xcopy %C1 %%TEMP%%\tc_ext.tmp /H /R /K /Y && xcopy %C2 %C1 /H /R /K /Y && xcopy %%TEMP%%\tc_ext.tmp %C2 /H /R /K /Y && del %%TEMP%%\tc_ext.tmp /F /A
C:\windows\System32\imageres.dll,-68
Batch SWAP filenames, petermad, echo dot peep
-1
The script above still has the * - what about without the *?Stefan2 wrote: ↑2020-06-16, 14:05 UTC
I imported your HKCU-export and now your original script works for me on w10 too:
Code: Select all
TOTALCMD#BAR#DATA cmd /k if not exist "%P" (echo •) else if exist %P%S1\* (echo •) else if not *%C3==* (echo •) else if %C2==%T%S1 (echo •) else if %C2==%P%S1 (echo •) else echo Temp file for TC Extended Menu > %%TEMP%%\tc_ext.tmp && xcopy %C1 %%TEMP%%\tc_ext.tmp /H /R /K /Y && xcopy %C2 %C1 /H /R /K /Y && xcopy %%TEMP%%\tc_ext.tmp %C2 /H /R /K /Y && del %%TEMP%%\tc_ext.tmp /F /A C:\windows\System32\imageres.dll,-68 Batch SWAP filenames, petermad, echo dot peep -1
You may have miss my edit above.
I can fully understand that - no rush at allwhich I want to avoid right now, sorry (too many apps open and arrange
Code: Select all
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"DefaultColor"=dword:00000000
"EnableExtensions"=dword:00000001
"PathCompletionChar"=dword:00000009
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /K
if exist %P%S1\ (echo FOLDER) else echo FILE
%COMMANDER_EXE%,2
Test for folder or file
-1
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /K
if exist %P%S1\* (echo FOLDER) else echo FILE
%COMMANDER_EXE%,2
Test for folder or file
-1