# Files with and without path

**URL:** https://www.finalbuilder.com/forums/t/files-with-and-without-path/534
**Category:** Discussion
**Created:** [July 24, 2007, 2:00am UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534 "2007-07-24T02:00:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 24, 2007, 2:00am UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534/1 "2007-07-24T02:00:21Z")

</div>

Hallo,

my "Help and Manual" projects are in different folders. But all builded PDFs should stored in one outputfolder.

For compilation I need filenames with path and for output only filenames to set my own path in front.

How can I solve this problem?

Thanks for help

&nbsp;

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 25, 2007, 3:27am UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534/2 "2007-07-25T03:27:38Z")

</div>

Hi Jorg,   
  
 Thanks for post. I’m afraid that I’m not quite sure what you mean. For Help & Manual 4, you should be able to specify a full path for the Project File (on the project tab) and a different full path for the output PDF file (on the PDF Options tab.)   
  
 What version of Help & Manual are you using?   
  
 Finally, if nothing else works than can you use a Move File(s) action to move the PDF files to the correct output folder (although this should not be necessary.)   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 25, 2007, 10:20am UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534/3 "2007-07-25T10:20:53Z")

</div>

Hi Angus,

thanks for reply.

Our Help & Manual Version is 4.3.1

I try to compile many Help&Manual-Projects recursively.

For example

Projects are in \HM\Project1\0010, \HM\Project1\0011, and \HM\Project2\0200

Outputdirectory for all is Help\PDFs

My Problem is that I can´t specify only the outputdirectory without a filename.

If there is no other way, how can I make a Move File(s) action to bring the PDFs in one directory?

Thanks for help

Jörg

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 26, 2007, 1:59am UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534/4 "2007-07-26T01:59:46Z")

</div>

Hi Jorg,   
  
I'm afraid I'm still a little confused about what you need to do. How many actions are you using?   
  
If you're using a separate Help & Manual action for each project, then you should be able to set each one up with a path for the project, and the path for the output file.   
  
If you're using a File Iterator to select each project, you'll need to be a bit tricky.   
  
Say if you have a variable called HMProject which is set to the full path of the project file.   
  
Create a second variable called HMName. Then add two Path Manipulation actions. Set the first one like this:   
  
Input -\> From Variable -\> HMProject   
  
Output -\> Specify Output Variable -\> HMName   
  
Path Functions -\> Extract File Name   
  
... and then set up the second one as follows:   
  
Input -\> From Variable -\> HMName   
  
Output -\> Apply to Existing Value   
  
Path Functions -\> Change File Extension -\> .PDF   
  
  
... then you can just set up the H&M action to build project %HMProject% to output PDF file \Help\PDFs\%HMName%   
  
This is getting pretty complex, so please just let me know if you'd like me to mock up a demo project for you, or if I've misjudged your requirements entirely.   
  
Regards,   
  
Angus

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 26, 2007, 12:09pm UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534/5 "2007-07-26T12:09:33Z")

</div>

Hi Angus,   
  
 that´s it. I didn´t search the “path manipulation” action in the “string manipulation” section.   
 Now it works.   
  
 thank you for helping a blind man   
 Jörg

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 27, 2007, 1:23am UTC](https://www.finalbuilder.com/forums/t/files-with-and-without-path/534/6 "2007-07-27T01:23:42Z")

</div>

Hi Jorg,   
  
 Glad you got it sorted out.   
  
 Regards,   
  
 Angus
