Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[WFX] VirtualPanel 2: Temporary panel for TC (Unicode)
Goto page Previous  1, 2, 3 ... 29, 30, 31 ... 35, 36, 37  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Sun May 20, 2012 1:56 pm    Post subject: Reply with quote

Quote:
Quote:
A question, is there a way to put relative paths in the .lst file? (relative to the lst file itself or somwhere else.

It was made for importing m3u playlists so all relative paths use folder where list is placed (or a drive in case of paths that start with '\') as a base folder.


I thought so, but only abs path working for me, given c:\users\vplist.lst:
C:\Users\app1205
data
msg
todo.txt

where data, msg (folders) and file todo.txt are in c:\users\, only C:\Users\app1205 is loaded.

any clue?
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Mon May 21, 2012 5:59 am    Post subject: Reply with quote

Works fine for me,
>Run:
Code:
<put /dl . C:\Users\1.lst

C:\Users\1.lst:
Code:
desktop.ini
Default
Public

_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Mon May 21, 2012 9:43 am    Post subject: Reply with quote

MVV wrote:
Works fine for me,
>Run:
Code:
t

C:\Users\1.lst:
Code:
desktop.ini
Default
Public


i tested exactly with that data and i get Loaded 0 entries. I'm on 2.0.5.1208. Log isthis:

[VP_LOG]
17:41:22 4952
17:41:22 4952 Initialize: 2012-05-21 17:41:22
17:41:22 4952 FsStatusInfo: list operation (1) is started in "\"
17:41:22 4952 FsStatusInfo: list operation (1) is finished in "\"
17:41:30 4952 FsStatusInfo: list operation (1) is started in "\yy"
17:41:30 4952 FsStatusInfo: list operation (1) is finished in "\yy"
17:41:58 4952 FsStatusInfo: exec operation (11) is started in "\yy\"
17:42:00 4952 FsStatusInfo: exec operation (11) is finished in "\yy\"
17:42:00 4952 FsStatusInfo: list operation (1) is started in "\yy"
17:42:00 4952 FsStatusInfo: list operation (1) is finished in "\yy"
Back to top
View user's profile Send private message
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Mon May 21, 2012 4:01 pm    Post subject: Reply with quote

jmwap wrote:
MVV wrote:
Works fine for me,
>Run:
Code:
t

C:\Users\1.lst:
Code:
desktop.ini
Default
Public


i tested exactly with that data and i get Loaded 0 entries. I'm on 2.0.5.1208. Log isthis:

[VP_LOG]
17:41:22 4952
17:41:22 4952 Initialize: 2012-05-21 17:41:22
17:41:22 4952 FsStatusInfo: list operation (1) is started in "\"
17:41:22 4952 FsStatusInfo: list operation (1) is finished in "\"
17:41:30 4952 FsStatusInfo: list operation (1) is started in "\yy"
17:41:30 4952 FsStatusInfo: list operation (1) is finished in "\yy"
17:41:58 4952 FsStatusInfo: exec operation (11) is started in "\yy\"
17:42:00 4952 FsStatusInfo: exec operation (11) is finished in "\yy\"
17:42:00 4952 FsStatusInfo: list operation (1) is started in "\yy"
17:42:00 4952 FsStatusInfo: list operation (1) is finished in "\yy"


update: i restarted tc several times (trying to configure another of your great tools), then went to my vp folder... and now rel. paths work falwlessly!!!

THANKS
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Mon May 21, 2012 11:42 pm    Post subject: Reply with quote

Glad to see that it's work now:)

Please let me know if it will fail again.


Plugin is updated. Smile

Virtual Panel 2.0.5.1220:
+ <tgmove command now allows to move files between volumes
* improved confirm dialog centering
* fixed direct date/time calculation in <ifcond command (dateYYYYMMDD and timeHHMM)
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Wed May 23, 2012 4:24 pm    Post subject: Reply with quote

I'm making my use of this more advanced each time Smile

Is there a way to run a series of commands from a file or something? I mean, if I want to run:

<cd \\\VP\myvp\
<add >Refresh {<silent <put /dl . C:\Users\vplist.lst }
<save /f

Do i have to manually run each line in commandline?

Also, can \\\VP\myvp be created by command (instead of F7) i suspect so but canno find it.

thanks!!
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Thu May 24, 2012 12:25 am    Post subject: Reply with quote

Just read the readme Very Happy

Create folder:
Code:
<add \myvp

Run multiple commands from command line:
Code:
<cd \myvp\ <add >Refresh {<silent <put /dl . C:\Users\vplist.lst } <save /f

You can run multiple commands from command line just like you do it from scripts. Every '<' character means beginning of next command, that's why you need to use blocks {} in commands like <for, <ifcond or <add (for adding scripts) to define nested command sequences. You can run multiple commands from script file that you've created before, also you can use VPBatch to execute commands from buttonbar button.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Thu May 24, 2012 5:12 am    Post subject: Reply with quote

MVV wrote:
Just read the readme Very Happy

Create folder:
Code:
<add \myvp


thanks for explanations...I read the readme but the issue is, this pluing is so 'advanced' and and I have little understandings of TC internals that much is hard to understand

Quote:

Run multiple commands from command line:
Code:
<cd \myvp\ <add >Refresh {<silent <put /dl . C:\Users\vplist.lst } <save /f

You can run multiple commands from command line just like you do it from scripts. Every '<' character means beginning of next command, that's why you need to use blocks {} in commands like <for, <ifcond or <add (for adding scripts) to define nested command sequences. You can run multiple commands from script file that you've created before, also you can use VPBatch to execute commands from buttonbar button.


I dont want buttons, but I could use VPBatch...can i invoke itoutside TC or it needs to be run from TC UI? Cause I try to create a new top level folder under \\\vp and not working, i want \\\VP\gg created:

c:\totalcmd\plugins\WFX\VirtualPanel\VPBatch.exe /r"\\\VP" ^exec { ^add gg }


I have tried many combinations but no luck.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Thu May 24, 2012 8:22 am    Post subject: Reply with quote

VPBatch doesn't work w/o running TC with loaded VP of course - it simply sends commands to active VP. If you play with VPBatch via cmd.exe, note that the last one treats '^' character as special character and you need to double it. Command like VPBatch.exe /q` `add \myvp should work from both TC or cmd.exe/batch command line.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Thu May 24, 2012 3:36 pm    Post subject: Reply with quote

MVV wrote:
VPBatch doesn't work w/o running TC with loaded VP of course - it simply sends commands to active VP. If you play with VPBatch via cmd.exe, note that the last one treats '^' character as special character and you need to double it. Command like VPBatch.exe /q` `add \myvp should work from both TC or cmd.exe/batch command line.


this is excellent, with that info now I generate a nice .lst file, and using VPBatch create a new vp and add all in the lst, all by code.
thanks
Back to top
View user's profile Send private message
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Wed Jun 06, 2012 10:56 am    Post subject: Reply with quote

MVV wrote:
Works fine for me,
>Run:
Code:
<put /dl . C:\Users\1.lst

C:\Users\1.lst:
Code:
desktop.ini
Default
Public


hi MVV

another question, are environment variables supported in .lst files?
Code:

%my_temp%\server.js

It is not working for me, if I change to
Code:
c:\temp\server.js

it works flawlessly.

thanks
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Wed Jun 06, 2012 11:43 am    Post subject: Reply with quote

No, sorry. Only full or relative paths (D:\Path, \Path or ..\Path\..\Etc\Path).
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Wed Jun 06, 2012 2:48 pm    Post subject: Reply with quote

MVV wrote:
No, sorry. Only full or relative paths (D:\Path, \Path or ..\Path\..\Etc\Path).


ok, thanks anyway
Back to top
View user's profile Send private message
poiuz
Junior Member
Junior Member


Joined: 29 Nov 2004
Posts: 7

PostPosted: Wed Jul 04, 2012 3:43 am    Post subject: Reply with quote

Hi, is there a way to disable the "upload as" dialog, which pops up everytime I copy or drag&drop a file into a virtual folder?
I'm using a AHK script for this right now.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Wed Jul 04, 2012 7:00 am    Post subject: Reply with quote

VP can't help you with it, it is TC who shows that dialog. You can close it by sending some message, or you can use VPBatch tool instead and add files directly to VP w/o TC dialogs, just read the Readme for command line syntax (VP must be loaded in TC).
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3 ... 29, 30, 31 ... 35, 36, 37  Next
Page 30 of 37

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group