![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DOORS command line switches Topic Summary: Is there a limit? Created On: 3-Nov-2006 20:03 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is there a limit to the number of command line switches allowed in a DOORS shortcut?
Currently I have: "C:\Program Files\Telelogic\DOORS_8.1\bin\doors.exe" -d myport@myserver -o r -O r -a "%DXL_Home%addins" -A "%DXL_Home%attrib\060504" -J "%DXL_Home%project" -L "%DXL_Home%layout\060504" Every option works as long as it is not the last one in the list. Thoughts? Heather ------------------------- Heather Linsk Lead Engineer General Dynamics AIS 413-494-7095 |
|
![]() |
|
![]() |
|
Have you tried adding another one to the list to see if it is the last one, or a hard limit?
Hazel |
|
![]() |
|
![]() |
|
Heather,
Regarding the command line question: "C:\Program Files\Telelogic\DOORS_8.1\bin\doors.exe" -d myport@myserver -o r -O r -a "%DXL_Home%addins" -A "%DXL_Home%attrib\060504" -J "%DXL_Home%project" -L "%DXL_Home%layout\060504" #1. I assume you know what the DXL_Home Environment variable is set to. #2. How long does the entire line (in characters) resolve too? #3. Are you sure all the folders you are attempting to resolve exist? #4. If you set an environment variable with the same command line convention check to see if DOORs can resolve the entire line using a print env("MyVar") funtion. I am trying to help figure out if this is an operating system side problem or a DOORs side problem. |
|
![]() |
|
![]() |
|
#1 - Yes I do.
#2 - 278 #3 - Yes the folders exist. I can get the swtiches to work individually. #4 - DOORS is able to resolve the environment variable. After doing this exercise, I put my money on a OS limitation. Windows probably chops the string at 256. ------------------------- Heather Linsk Lead Engineer General Dynamics AIS 413-494-7095 |
|
![]() |
|
![]() |
|
I forgot to ask your OS. Sorry.
I found this information on the web but I cannot verify it's accuracy. Although, my gut tells me you are dealing with an OS limitation... Long Commands Under Windows NT, the command line is limited to 256 characters. Under Windows 2000, the command line is limited to 2046 characters. Under Windows XP, the command line is limited to 8190 characters. But if you have C:\Program Files\Telelogic\DOORS_8.1\bin already in your PATH environment variable you should be able to just chop your command line to say: doors.exe -d myport@myserver -o r -O r -a "%DXL_Home%addins" -A "%DXL_Home%attrib\060504" -J "%DXL_Home%project" -L "%DXL_Home%layout\060504" |
|
![]() |
|
![]() |
|
I am running Windows XP, so I shouldn't have a string length issue.
![]() ------------------------- Heather Linsk Lead Engineer General Dynamics AIS 413-494-7095 |
|
![]() |
|
![]() |
|
It would seem that way Heather, but I would recommend trying to set the path and trim your command line down as much as you can. Maybe temporarily moving the folders into a shorter path.
It is possible that it is DOORS that cannot handle a command line longer than 255. |
|
![]() |
Telelogic DOORS
» General Discussion
»
DOORS command line switches
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.