Extended CD command

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

igarny
Junior Member
Junior Member
Posts: 58
Joined: 2023-01-26, 19:01 UTC

Re: Extended CD command

Post by *igarny »

2Fla$her 2petermad Thanks for the hints!

I am using the 64bit version of this plugin:
New secure ftp plugin version 3.04 final (32 bit+64 bit)
Copyright (C) 2008-2022 Christian Ghisler, all rights reserved
igarny
Junior Member
Junior Member
Posts: 58
Joined: 2023-01-26, 19:01 UTC

Re: Extended CD command

Post by *igarny »

I have figured it out ... feeling so stupid for not having it in the first place :oops:
Anyway based on some input from 2Fla$her in another post I came up with this:

Code: Select all

TCFS2.exe /ef tcm(4003) send(`cd \var\log{ENTER}`)
which can be assigned to a command / button and will switch to the respective folder without me having to specify the current plugin and server..

I find it a miss for not having a conformity between the different cd command initiations, like from menu command and TC command line control
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Re: Extended CD command

Post by *Sir_SiLvA »

and why do you need tcfs2 when that works with cd var\log just fine?
Hoecker sie sind raus!
Fla$her
Power Member
Power Member
Posts: 2327
Joined: 2020-01-18, 04:03 UTC

Re: Extended CD command

Post by *Fla$her »

2igarny
I don't see the answer to the question about the server. I asked it for a reason.
Overquoting is evil! 👎
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Re: Extended CD command

Post by *LonerD »

Support !
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
igarny
Junior Member
Junior Member
Posts: 58
Joined: 2023-01-26, 19:01 UTC

Re: Extended CD command

Post by *igarny »

Sir_SiLvA wrote: 2023-05-13, 19:22 UTC and why do you need tcfs2 when that works with cd var\log just fine?
2Sir_SiLvA

I would be glad to learn from you on how to make this a button / menu command...
please note it should be:

Code: Select all

cd \var\log
NOT
cd var\log
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Re: Extended CD command

Post by *Sir_SiLvA »

igarny wrote: 2023-05-14, 07:14 UTC

Code: Select all

cd \var\log
folder strukture:

cd \[foldername] dos NOT work only cd [foldername] does....
if you start with a \ you have to give the complete path!

example:
you are in folder d:\downloads and want to change to d:\downloads\some\files you have to use cd some\files
you are in folder d:\downloads and want to change to d:\work\recent you have to use cd \work\recent
\ after cd means you start from drive root.
Hoecker sie sind raus!
igarny
Junior Member
Junior Member
Posts: 58
Joined: 2023-01-26, 19:01 UTC

Re: Extended CD command

Post by *igarny »

2Fla$her
2Sir_SiLvA

Please check this post: viewtopic.php?t=77829&start=15#p431185

2Sir_SiLvA
example:
you are in folder d:\downloads and want to change to d:\downloads\some\files you have to use cd some\files
you are in folder d:\downloads and want to change to d:\work\recent you have to use cd \work\recent
\ after cd means you start from drive root.
definitely your examples do not match my use case: viewtopic.php?t=77829#p431162
Post Reply