You should not be depending on relative path names (as I mentioned in my 
response to your previous note).  You should specify 
C:\AutomatedTestSystemFiles (assuming C: is the drive that this directory 
is on), not \AutomatedTestSystemFiles.  For example:

  STAF local FS LIST DIRECTORY C:\AutomatedTestSystemFiles NAME * EXT *

If you need to get the boot drive of the Windows machine, you can get this 
from STAF variable STAF/Config/BootDrive.  For example:

  STAF winmach1 VAR RESOLVE STRING {STAF/Config/BootDrive}

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   [EMAIL PROTECTED]
(512) 838-8347 or Tieline 678-8347




"Mohammad Jamal" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
04/09/2008 03:02 PM

To
"STAF User" <staf-users@lists.sourceforge.net>
cc

Subject
[staf-users] [STAF-USER] : Doubt regarding LIST comaand of FS   Service






I have used STAF 3.2.1:
 
I have used LIST Directory command to list files in particular directory.

Machine name: local
Service: fs
Command: List Directory
Directory name: \AutomatedTestSystemFiles
Name of files: * (all)
Extension of files: * (all)


Case 1: If STAF is running from root directory then
---------------------------------------------------

<Snip>

C:\staf local fs list directory \AutomatedTestSystemFiles name * ext *

Response
--------
TestGroupListFiles
TestCaseListFiles
ListOfSystemInTheNetwork
ccu8.exe
RASU8.exe
cc1u8.exe
cc2u8.exe
ml610711.dcl
InputTestFiles
STAXJobOnMachineLOCAL.xml
TestLogOnMachineLOCAL.log

<End>


Case 2: If STAF is running from any other directory 
---------------------------------------------------------

<Snip>
C:\staf local fs list directory \AutomatedTestSystemFiles name * ext *

Response
--------

<End>
 
Why output are different in above situation.
 
While in case of STAF 3.1.1, in both the cases output are same.
 
Please clearify my doubt.
 
With best regadrs,
Mohammad Shahid Jamal
 -------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to