Menu

calling PLDOC w/ spaces in directory path

W Penfold
2008-08-21
2013-03-31
  • W Penfold

    W Penfold - 2008-08-21

    Hi, Can anyone give me an example how to call pldoc.bat from a batch file when the -d argument needs to be a path that has a space in the name?  I've tried "", /"/", using the abbrev dos name.  Either I get directory not found--because it stops looking at the space, or the java call bombs.

     
    • Albert Tumanov

      Albert Tumanov - 2008-08-22

      Try \"\"

       
    • W Penfold

      W Penfold - 2008-08-22

      When I try /" /" it looks like it takes all the backslashes out of the directory name...see below

      Press any key to continue . . .
      arguments -url jdbc:oracle:thin:@brutus.ithaca.edu:1521:SISQA -sql SZ_RESLIFE%
      -d \"J:\ISS Documentation\Homer_Docs\ResLife\housing_selection_and_profiles\PLDOC\"
      -doctitle "RESLIFE_packages"  -user ITHACA -password ithaca
      Press any key to continue . . .

      PLDoc version: 0.8.3.1
      Directory "J:ISS DocumentationHomer_DocsResLifehousing_selection_and_profilesPLD
      OC" does not exist, creating ...
      File cannot be created: J:ISS DocumentationHomer_DocsResLifehousing_selection_an
      d_profilesPLDOC\application.xml
      java.io.FileNotFoundException: J:ISS DocumentationHomer_DocsResLifehousing_selec
      tion_and_profilesPLDOC\application.xml (The system cannot find the path specifie
      d)
              at java.io.FileOutputStream.open(Native Method)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
              at net.sourceforge.pldoc.PLDoc.run(PLDoc.java:143)
              at net.sourceforge.pldoc.PLDoc.main(PLDoc.java:109)
      Press any key to continue . . .

       
    • W Penfold

      W Penfold - 2008-08-22

      Sorry, I used \&quot;\&quot; but typed /"/"

       
  • kmish

    kmish - 2012-10-25

    I have very little experience with teh program, but from what I've found, I think the problem is because you're trying to paste it to a different drive.

    Try changing your -d to something local, say -d w/pen/fold and it should create the subsequent folders at the location of the bat file.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.