\\Desktop

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

\\Desktop

Post by *DarkRuleR »

I have found a missing feature/bug.

The problem:
Left panel I open the "Desktop" (Commands -> Open Desktop Folder).
Right panel I open a ftp connection.

Then I want to copy a file from "Desktop" to ftp server.
And then I get this error:

Code: Select all

Error: Cannot read \\Desktop\<filename>
A filecopy from ftp server to "Desktop" results in this error:

Code: Select all

The given target path
\\Desktop
is invalid!
When one of the panel's is a local drive there is no problem.

Greetz...

DarkRuleR
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Virtual!

Post by *Clo »

2DarkRuleR
:) Hi!
:( "Desktop" is a virtual folder! Hence, you can't make these operations, it's specified in the Help and Tutorial.
EDIT:
:!: This under Win 9x! I didn't tested under XP yet...
:) Kind regards,
Claude
Clo
Last edited by Clo on 2004-01-10, 20:26 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Hence, you can do your work by using e.g. c:\Documents and Settings\admin\Desktop\ if you are using a post Win9x/ME operating system.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Using variables is more comfortable.

Instead command cm_OpenDesktop use cd %userprofile%\desktop

Icfu

P.S.: What has this to do with plugins?
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2icfu
use cd %userprofile%\desktop
This will work only if the desktop folder name is "Desktop".
Fortunately there will be %Desktop% and %Common Desktop% in a future version of TC -> http://www.ghisler.ch/board/viewtopic.php?t=2875
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

This will work only if the desktop folder name is "Desktop"
That's pretty obvious because when you rename desktop to something else you have no icons on your desktop anymore... :/

In case you have manually moved the desktop to some other folder I am sure you will know how to fix cd %userprofile%\desktop to fit the other location, not that complicated...

Your idea in the mentioned thread is nice, anyway.

Icfu
Last edited by icfu on 2004-01-10, 19:56 UTC, edited 1 time in total.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2icfu
That's pretty obvious because when you rename desktop to something else you have no desktop anymore... :/

In case you have manually moved the desktop to some other folder I am sure you will know how to fix cd %allusersprofile%\desktop to fit the other location...

Icfu
Read the thread linked above! Of course you cannot just rename or move the desktop folder. You also have to adapt the path in the registry (can be done via TweakUI etc. too).
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

You answer too fast... ;)
This will work only if the desktop folder name is "Desktop".
just sounds somewhat strange for anyone knowing where to change paths in registry.

Icfu
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2icfu
You answer too fast...just sounds somewhat strange for anyone knowing where to change paths in registry.
you read too fast :roll:

use Tweak UI - this is the way to do it without changing the registry entries directly.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

We are talking at cross purposes... Let's just stop here. :)

Could someone move this thread to English forum? I think that more ppl might be interested in that topic than plugin developers only. Thx.

Icfu
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

icfu wrote:Using variables is more comfortable.

Instead command cm_OpenDesktop use cd %userprofile%\desktop

Icfu

P.S.: What has this to do with plugins?
I rather use the internal feature for opening the desktop
but this works great for now!

Thanx!!!

And yes I posted this question by mistake in Plugin dev. :oops: so if it can be moved to the right groep? plz...
Post Reply