[Solved] Print only files in List file task - VisualCron - Forum

Community forum

t2c_running
2013-12-11T12:07:49Z
Good morning.

We would like in the "List Files" task, had a choice to only print the name of the files in the folder, not the full path with the filename.

Now, the task print files such as:
- C:\TEMP\Folder\foo1.txt
- C:\TEMP\Folder\foo2.txt
- C:\TEMP\Folder\foo3.txt

I wish to appear as follows:
- foo1.txt
- foo2.txt
- foo3.txt


Thank you!
ErikC
2013-12-12T06:56:07Z
hi t2c_running,

As a workaround, you can now use a command execute job with the command:

program: c:\windows\system32\cmd.exe
argument: /c dir /b

Regards
Erik
Uses Visualcron since 2006.
t2c_running
2013-12-12T08:19:50Z
Originally Posted by: ErikC 

hi t2c_running,

As a workaround, you can now use a command execute job with the command:

program: c:\windows\system32\cmd.exe
argument: /c dir /b

Regards
Erik



Hi Erik.

This is the workaround that we are using for this.
Therefore, to use the full potential of VisualCron and to stop using external commands, we requested this change in VisualCron.

Best regards.

Support
2014-02-14T13:23:38Z
It has now been implemented in this version:

http://www.visualcron.co....aspx?g=posts&t=3805 

In the output tab you can select if you want full path or just the file.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top