| View previous topic :: View next topic |
| Author |
Message |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Sun May 20, 2012 1:56 pm Post subject: |
|
|
| 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 |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4526 Location: Russian Federation
|
|
| Back to top |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Mon May 21, 2012 9:43 am Post subject: |
|
|
| MVV wrote: | Works fine for me,
>Run:
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 |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Mon May 21, 2012 4:01 pm Post subject: |
|
|
| jmwap wrote: | | MVV wrote: | Works fine for me,
>Run:
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 |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4526 Location: Russian Federation
|
|
| Back to top |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Wed May 23, 2012 4:24 pm Post subject: |
|
|
I'm making my use of this more advanced each time
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 |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4526 Location: Russian Federation
|
Posted: Thu May 24, 2012 12:25 am Post subject: |
|
|
Just read the readme
Create folder:
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 |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Thu May 24, 2012 5:12 am Post subject: |
|
|
| MVV wrote: | Just read the readme
Create folder:
|
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 |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4526 Location: Russian Federation
|
|
| Back to top |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Thu May 24, 2012 3:36 pm Post subject: |
|
|
| 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 |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Wed Jun 06, 2012 10:56 am Post subject: |
|
|
| 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
it works flawlessly.
thanks |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4526 Location: Russian Federation
|
|
| Back to top |
|
 |
jmwap Junior Member

Joined: 23 Mar 2008 Posts: 75
|
Posted: Wed Jun 06, 2012 2:48 pm Post subject: |
|
|
| MVV wrote: | | No, sorry. Only full or relative paths (D:\Path, \Path or ..\Path\..\Etc\Path). |
ok, thanks anyway |
|
| Back to top |
|
 |
poiuz Junior Member

Joined: 29 Nov 2004 Posts: 7
|
Posted: Wed Jul 04, 2012 3:43 am Post subject: |
|
|
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 |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4526 Location: Russian Federation
|
|
| Back to top |
|
 |
|