Command line call does not navigate to specified path

I am trying to open a specific folder in ProjectWise Explorer V8i (SELECTseries 4), using the command prompt.

Even though I follow these instructions, it does not seem to work: http://communities.bentley.com/products/projectwise/content_management/w/wiki/9209.command-line-arguments

For example, the line below does not open the specified path. Instead, when ProjectWise is opened, it goes to the folder that was active last time I closed the application:

"C:\Program Files (x86)\Bentley\ProjectWise\bin\pwc.exe" -d PWSRV.ad.domain.dk:ABC -vn Folder\Subfolder\               (fictitious domain)

I have tried removing the trailing blackslash in the -vn argument. No success. I have also tried replacing -vn with both -fp and -fn. Does not work either.

Does anyone have a clue why it is not working?

Best regards,

Søren

  • Hello Soren
    The command line is working for me. are you specifying the complete path relative to the root "Documents" folder
    I have a folder structure that goes, Documents(root)\Dana\sub
    My command line then is
    C:\Program Files (x86)\Bentley\ProjectWise\bin>pwc -d server:datasource -u admin -p password -vn dana\sub\
    Try just getting to a folder under the Documents root folder
    In my example C:\Program Files (x86)\Bentley\ProjectWise\bin>pwc -d server:datasource -u admin -p password -vn dana\

  • Unknown said:
    Hello Soren
    The command line is working for me. are you specifying the complete path relative to the root "Documents" folder
    I have a folder structure that goes, Documents(root)\Dana\sub
    My command line then is
    C:\Program Files (x86)\Bentley\ProjectWise\bin>pwc -d server:datasource -u admin -p password -vn dana\sub\
    Try just getting to a folder under the Documents root folder
    In my example C:\Program Files (x86)\Bentley\ProjectWise\bin>pwc -d server:datasource -u admin -p password -vn dana\

    Hi Dana,
    Thanks for the reply. I have tried to navigate to a folder under the Documents root folder, with no succes. There are spaces in the folder names, and I have tried both with and without quotes around the folder path.
  • I have reproduced the issue when there is a space in any part of the folder path i.e. pwc -d server:datasource -u admin -p password -vn dana\image files\ (I will write a defect report for this issue.)

    However I have managed to get it working using the folder id instead. pwc -d server:datasource -u admin -p password -v 393

  • I have been informed on how to make it work with using the folder name with a space in the path... remove the trailing back slash and put quotes around the path as seen in this example:
    pwc -d SERVER:DATASOURCE -u admin -p admin -vn “master\image files”

  • I have now managed to navigate to folders and subfolders, as long as the path does not contain any spaces. As soon as the path includes spaces, it does not work. I have tried adding quotes and removing the trailing backslash - still doesn't work.

    Where can I find the integer ID of a folder?