ftp bug with desktop path

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
tamir
Junior Member
Junior Member
Posts: 2
Joined: 2006-11-05, 11:16 UTC

ftp bug with desktop path

Post by *tamir »

when using the
commands --> open desktop folder
and tring to transfer files to FTP upload in background
it doesnt recognize this folder.
work around i go manualy into c:\document and setting\.........\desktop
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, the virtual folders like the Desktop or Network Neighborhood do not work with functions like zip, ftp etc. Reason: The normal file functions like CreateFile do not work with virtual folders.
Author of Total Commander
https://www.ghisler.com
disserman
New Member
New Member
Posts: 1
Joined: 2007-10-05, 22:30 UTC

Post by *disserman »

maybe it could be fixed by finding in a registry a real path to the item? at least in a case with Desktop folder. Working with files on desktop is the only thing I miss in a TC and I guess I'm not alone.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

You can use the command
cd %Userprofile%\Desktop\
to find the desktop.
2disserman
I switched to Linux, bye and thanks for all the fish!
User avatar
petermad
Power Member
Power Member
Posts: 14812
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

You can use the command
cd %Userprofile%\Desktop\
That wouldn't work in for example a Danish Windows - there it would have to be: cd %Userprofile%\Skrivebord\

It is better to use:
cd %$DESKTOP%
that should be language independant.


Unfortunately both methods only shows part of the files on the desktop. There are also files on the Desktop found in %Allusersprofile%\Desktop\ which can be opened by:
cd %$COMMON_DESKTOPDIRECTORY%
plus a few "files" and "folders" that are only accessible in virtual mode by using:
cm_OpenDesktop
In my extended menu there is a menu item "Folders" from where you can open all 3 "Desktop"s, plus a lot of other common folders.
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.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply