[solved] Command line only working in Left-side directory
Moderators: Hacker, petermad, Stefan2, white
[solved] Command line only working in Left-side directory
Any directory path inputted into the command line will only appear on the directory on the left, no matter what directory I have selected. Even when I have the right-side directory selected it always appears on the left without an obvious way to switch between them.
Is there a shortcut I'm missing? I can't find anything in the command line keyboard shortcuts in Help so I'm a little stumped.
Is there a shortcut I'm missing? I can't find anything in the command line keyboard shortcuts in Help so I'm a little stumped.
Last edited by azumanga on 2024-09-09, 09:53 UTC, edited 1 time in total.
Re: Command line only working in Left-side directory
just give a look to the help of TC. Search and find "Command line parameters" you will have all you need. You also have example at the end of the help page.
Re: Command line only working in Left-side directory
2azumanga
If you enter a directory path in the command line and press enter that directory will be opened in Windows Explorer.
What do you mean when you say that the directory "appears" on the left? - Do you mean that the panel on the left goes into that directory, or that it places the cursor on that directory if it is on the list? Or do you mean that the directory is created one the left side?
And what is it exactly you want to accomplish.
If you want to jump to a directory via the command line, you have to precede the directory path with cd: like cd c:\windows and the directory will be opened in the side that was active before you started typing in the command line
If you enter a directory path in the command line and press enter that directory will be opened in Windows Explorer.
What do you mean when you say that the directory "appears" on the left? - Do you mean that the panel on the left goes into that directory, or that it places the cursor on that directory if it is on the list? Or do you mean that the directory is created one the left side?
And what is it exactly you want to accomplish.
If you want to jump to a directory via the command line, you have to precede the directory path with cd: like cd c:\windows and the directory will be opened in the side that was active before you started typing in the command line
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Command line only working in Left-side directory
In the little command line thing under the two file windows that allows you to quickly go to any directory. not the command prompt if thats what you are thinking of.petermad wrote: ↑2024-09-08, 08:11 UTC 2azumanga
If you enter a directory path in the command line and press enter that directory will be opened in Windows Explorer.
What do you mean when you say that the directory "appears" on the left? - Do you mean that the panel on the left goes into that directory, or that it places the cursor on that directory if it is on the list? Or do you mean that the directory is created one the left side?
What I'm trying to accomplish is being able to change the directory via this command line in the right file window. No matter what I do I can only change it in the left file window, unless I'm missing something in the Help index.
I think thats done internally? unless you're refering to the command prompt.
I can try and create a gif to explain it to you visually if this doesn't clear things
Re: Command line only working in Left-side directory
The purpose of the little command line thing is not to quickly go to any directory, it's to execute commands. If you want to change directory, you need to use the cd command as explained by petermad.
Not it's not done internally, you have to type the cd command.
It's possible though, that you changed the Windows registry to open a directory in Total Commander when you execute a directory. That may be why the left panel always changes. Is that the case?
Re: Command line only working in Left-side directory
azumanga,
Roman
Or you can use the little path showing thingy above each of the two file windows to quickly go to any directory by entering a path.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Command line only working in Left-side directory
I think azumanga is maybe referring to the Quick search dialog when he is talking about the Command line.
See: https://tcmd.madsenworld.dk/commandline1.png
If in doubt of the terminology see the Help: https://tcmd.madsenworld.dk/commandline2.png
See: https://tcmd.madsenworld.dk/commandline1.png
If in doubt of the terminology see the Help: https://tcmd.madsenworld.dk/commandline2.png
Yes please
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Command line only working in Left-side directory
I am referring to the command line in the image you sent.petermad wrote: ↑2024-09-08, 19:22 UTC I think azumanga is maybe referring to the Quick search dialog when he is talking about the Command line.
See: https://tcmd.madsenworld.dk/commandline1.png
If in doubt of the terminology see the Help: https://tcmd.madsenworld.dk/commandline2.png
Image: https://i.imgur.com/tNWlUDw.gif
Is the command line really for executing commands? I merely thought it was some sort of way to quickly cd to directories, in that case my mistake.
Re: Command line only working in Left-side directory
It can be used for both. There are several other ways to quickly navigate to other directories: directory hotlist (Ctrl+D), breadcrumb bar, directory history (Alt+Down), button bar and so on. Some of these can also be used to execute commands.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Command line only working in Left-side directory
Here's what TC does by default (and without any Registry modification):
will make TC open an Explorer window with that directory.
will make TC open that directory in the active TC panel.
Since your GIF clearly shows that the former opens the directory in TC, the only conclusion I can make is that you've probably modified Windows Registry to make the system open directories in TC. This is what gets in the way of opening the directory typed in TC's right hand side panel. You can work around this by using the latter command form (with the preceding "cd ").
Code: Select all
"C:\Program Files"
Code: Select all
cd "C:\Program Files"
Since your GIF clearly shows that the former opens the directory in TC, the only conclusion I can make is that you've probably modified Windows Registry to make the system open directories in TC. This is what gets in the way of opening the directory typed in TC's right hand side panel. You can work around this by using the latter command form (with the preceding "cd ").
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Command line only working in Left-side directory
Yes this is what I did. I changed the registry after downloading TC so that it opens in TC instead.Dalai wrote: ↑2024-09-08, 20:39 UTC Since your GIF clearly shows that the former opens the directory in TC, the only conclusion I can make is that you've probably modified Windows Registry to make the system open directories in TC. This is what gets in the way of opening the directory typed in TC's right hand side panel. You can work around this by using the latter command form (with the preceding "cd ").
the cd command you sent seems to behave as I expected. I will try using that from now on if there isn't a way to fix it without reverting the registry changes.
Re: Command line only working in Left-side directory
Yes really. That's why it is called Command line.
To type in a directory you would normally click behind the path just above the file panel. Or put the cursor on the ".." entry and press Shift+F6. Or click the path above the file panel (or press Alt+F11 or Alt+F12) and then press Shift+F6. Or assign a hotkey or button to the command cm_EditPath and use that.
But executing a folder would normally open Windows Explorer, so it seems your Windows registry settings were altered to use Total Commander instead. If that is the case, the parameter /S should be added to open the directory in the source panel rather than the left panel.
Re: Command line only working in Left-side directory
Oh...white wrote: ↑2024-09-08, 20:49 UTCYes really. That's why it is called Command line.
To type in a directory you would normally click behind the path just above the file panel. Or put the cursor on the ".." entry and press Shift+F6. Or click the path above the file panel (or press Alt+F11 or Alt+F12) and then press Shift+F6. Or assign a hotkey or button to the command cm_EditPath and use that.
I didn't know you could that. hahaha....
It makes sense though, I'm just used to cd-ing directories in programs like Midnight commander via the command line. I guess I don't have to do that anymore
Thanks a bunch for the help though I really appreciate it