LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to append file path

nothing actually end result is a bunch of little files and some videos 

0 Kudos
Message 11 of 18
(1,755 Views)

The VI you attached earlier is a far simplified version of what your screenshot shows.  And I don't see the "extra step" that you talked about.

 

It is very hard to help when you say one thing and post something completely different.

 

You may also want to look at the Recursive File List VI.  It may or may not be useful to you depending on what it is you are really trying to do.

 

 

0 Kudos
Message 12 of 18
(1,752 Views)

@Billy331 wrote:

I want to move what is inside video backup folder to its proper location.


What is proper location??

 


@Billy331 wrote:

there are several folders inside the video backup folder each going to a different place but under the same format 


Different place but under same format... What do you mean by this??

Can you come up with just the Inputs and Outputs your function should have and then an example, which should demonstrate that what should be the functionality that you're expecting???

Function Interface.PNG


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 13 of 18
(1,748 Views)

Ah, I see what is happening.  Your problem is that you are copying the entire contents of your original folder.  You are just passing the Input Path to be copied.  What you need to do is add a Build Path to append the folder name.  The resultant will be the folder that you want to copy.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 14 of 18
(1,744 Views)

ah im sorry i must have forgotten to save it before sending it. It is more of an extra folder than an extra step. I want to move the folders inside the video backup folder to their proper location but it is moving the video backup folder itself to the location.

 

For example there are folders containing videos in the folder video backup folder. the folders names are 904425 UID 54126585 and 904426 UID 54126586. The first folder should be moved to Y:\904xxx\904425\Videos and the second to Y:\904xxx\904426\Videos 

0 Kudos
Message 15 of 18
(1,739 Views)

Then you need to use Strip Path in order to eliminate the folder name "Video Backup Folder" from the new path name.

0 Kudos
Message 16 of 18
(1,734 Views)

@RavensFan wrote:

Then you need to use Strip Path in order to eliminate the folder name "Video Backup Folder" from the new path name.


Look closer.  He is telling the Copy function to copy the original folder.  He needs to append the subfolder name and have that copied instead.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 17 of 18
(1,727 Views)

Ahhh yes that worked thank you so much i appended the folder name to the input file path before sending it to the copy file command. Thanks a lot

0 Kudos
Message 18 of 18
(1,721 Views)