ghisler(Author) wrote: 2023-08-22, 08:41 UTC The function returns FALSE because there was no directory change. When I change this to TRUE, then there is no problem.
[TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
Moderators: Hacker, petermad, Stefan2, white
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
Ghisler's statement earlier meant he did fix it already:
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
I understood this as checking the operation of a function that expects TRUE. Does this mean that TRUE will remain in case of an error? This answer doesn't clarify this.
Overquoting is evil! 👎
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
2Fla$her
Ghisler's second post clarified it and I just clarified it.
Ghisler's second post clarified it and I just clarified it.
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
No, that's not the answer to my question. This is just a guess (about fix).
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
It will now return TRUE when the name exists and represents a file. You will still get an error when the name after "cd" doesn't exist, or when it's a folder but the cd command fails.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
2ghisler(Author)
Well, you actually described the second point. That's what we need.
Well, you actually described the second point. That's what we need.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
This should be fixed in Total Commander 11.01 RC2, please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
The example in topic start seems to be fixed, but is it normal that it doesn't work if the path after the cd command isn't quoted? Is it also normal that setting a filter using the cd command (cd *.txt) doesn't work?
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
2white
Yes, see:but is it normal that it doesn't work if the path after the cd command isn't quoted?
Help wrote:You can also place one or more of Total Commander's internal menu commands here comma-separated. Just click on the button with the magnifying glass and choose a command from the dialog box "Choose command".
Can be combined with cd command (change directory) with the path in double quotes.
Example for multiple commands: cd "c:\windows",cm_SelectAll,cm_Copy
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
Confirmed fixed in TC 11.01rc2history.txt wrote:21.08.23 Fixed: cd Filename in button bar combined with other commands would correctly place the cursor on Filename, but report an error (32/64)

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
2petermad
Thanks, so the question remains why cd "c:\windows\*.txt" doesn't work when using multiple commands.
Thanks, so the question remains why cd "c:\windows\*.txt" doesn't work when using multiple commands.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
Thanks for confirming the fix!
Sorry, setting filters isn't currently supported. Maybe in a later version.Thanks, so the question remains why cd "c:\windows\*.txt" doesn't work when using multiple commands.
Moderator message
Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
2white
Confirmed that cd "*.txt" (cd used to set a file mask) does not work for multi-commands.
If this cannot be fixed, it should be mentioned in the Help that wildcards cannot be used with cd for multiple commands.
Confirmed that cd "*.txt" (cd used to set a file mask) does not work for multi-commands.
If this cannot be fixed, it should be mentioned in the Help that wildcards cannot be used with cd for multiple commands.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
cd *.txt and "cd *.txt" never worked in the command line (also not in TC 10.52 and older), only as a single command on a button. The multi-command handler uses the cd function from the command line, so cd "*.txt" isn't supported there either. I will add a note to the help.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.01RC1] After creating the files and positioning the cursor, an error window appears
Bring back the topic, please.
The bug is not fixed on the x32 version. Moreover, no files are created, only one test_[C].txt is created without a number.
The bug is not fixed on the x32 version. Moreover, no files are created, only one test_[C].txt is created without a number.
Overquoting is evil! 👎