SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reading A: Drive

    Is there a way that Silk can determine if the A:\ drive has been read. I'm testing with no disk in A:\ drive, but I want Silk to check that A:\ has been read.

    Thanks...

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  2. #2
    Junior Member
    Join Date
    Mar 2002
    Location
    Chennai,Tamil Nadu,India
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading A: Drive

    Hi ,

    try This

    if(sys_Execute("dir a:",{})==0)
    {
    print("Drive a Exists");
    }
    else
    {
    print("Drive a Does not Exist");
    }

    With regards,
    Myils


    ------------------

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading A: Drive

    Thanks for that Myils.

    What I actually need to do is check that the A:\ drive gets called.

    Within the windows application that I am testing, it has a menu item as "File -> Send To A:". So, what I need to do is check that a:\ drive gets called and read.

    Can Silk do this?

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  4. #4
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Reading A: Drive

    I don't think the os keeps a record of which files/directories have been read from; if it did so, I suspect that the resulting log would very quickly fill up the drive space. Also everything would run very very slowly.

    From your description though, don't you mean that you need to check that the A: drive has been written to? That should be reasonable easy, using calls like SYS_GetDirContents().

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:15 AM.

Copyright BetaSoft Inc.