Can we support the . (dot) command line parameter to have totalcmd64 start with current directory?

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Gert
Junior Member
Junior Member
Posts: 5
Joined: 2022-10-11, 09:17 UTC

Can we support the . (dot) command line parameter to have totalcmd64 start with current directory?

Post by *Gert »

Hi,
I have added c:\totalcmd to my PATH variable and can thus start Totalcmd64 in any folder from a dos terminal window.
I would like top open totalcmd64 in the current folder, but it seems not possible.
I tried:
Open dos terminal
navigate to d:\my\deep\folder\with\many\files via:
d:
cd d:\my\deep\folder\with\many\files
totalcmd64 .
totalcmd64 /L .

both seemed to ignore the . argument being the current folder.
Is there maybe another way to do this?

Thanks for your time.
User avatar
white
Power Member
Power Member
Posts: 5976
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Can we support the . (dot) command line parameter to have totalcmd64 start with current directory?

Post by *white »

totalcmd64 "%cd%"
Gert
Junior Member
Junior Member
Posts: 5
Joined: 2022-10-11, 09:17 UTC

Re: Can we support the . (dot) command line parameter to have totalcmd64 start with current directory?

Post by *Gert »

Thanks @white, it worked without quotes as well for me as I had no white space in path and filename. I am a lazy typist, a single dot would still have my preference but maybe that is not the standard way to pass arguments, although creating a file dot (.) or dot dot (..) file is not allowed by notepad as they are in fact folders.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Can we support the . (dot) command line parameter to have totalcmd64 start with current directory?

Post by *Stefan2 »

Gert wrote: 2022-10-12, 09:24 UTC a single dot would still have my preference but maybe that is not the standard way to pass arguments,
however, this "totalcmd64 . " is a well know syntax for many text editor and other tools (many in unix environment but nowadays since years on win too)
And it would be fine if TC also would process that, as it may be just expected to work that way.


Gert wrote: 2022-10-12, 09:24 UTC although creating a file dot (.) or dot dot (..) file is not allowed by notepad as they are in fact folders.
. and .. are no real folders but a representation of the current path, or the parent path respectively,
which the interpreter (e.g. cmd.exe and TC) knows what to do with.





  
User avatar
white
Power Member
Power Member
Posts: 5976
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Can we support the . (dot) command line parameter to have totalcmd64 start with current directory?

Post by *white »

Gert wrote: 2022-10-12, 09:24 UTC I am a lazy typist..
Perhaps you should create a tc.cmd file.
Gert wrote: 2022-10-12, 09:24 UTC ..a single dot would still have my preference but maybe that is not the standard way to pass arguments, although creating a file dot (.) or dot dot (..) file is not allowed by notepad as they are in fact folders.
TC doesn't support relative paths as parameters, as can be seen in the help. It explicitly states "Always specify the full path name including the drive!".
Post Reply