SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SYS_Execute doesn\'t run on Windows 98 /ME

    Heeeeeeeeelppppppp,
    A simple call to SYS_Execute("dir c:\") errors out with the message:

    "*** Error: Unable to start dir C:\: The system cannot find the file specified."

    Am I missing something here???
    I tried adding a list parametar to the dir call to get the results, but this doesn't work either...
    What's more frustrating this works just fine on NT/2000/xp, but it doesn't on 98/me.
    Is there a inc file that I'm supposed to use with 98/me or it should work regardless of the include files.
    I'm thinking, this is a built in function and it should work without any special tratment, but still...

    Any help is really appreciated...


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

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    check out the downloads section. There is a SYs_Execute for win95.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    What version of ST do you have on it?

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

  4. #4
    Member
    Join Date
    Oct 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    I'm using ST 5.0.3.1
    Does SYS_Execute for Win95 run on nt platforms???

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

  5. #5
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    Use:

    SYS_GetDirContents()

    instead ??


    John


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

  6. #6
    Member
    Join Date
    Oct 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    I've tried but this require using

    [ ] type FILEINFO is record
    string sName
    boolean bIsDir
    integer iSize
    integer iAttributes
    datetime dtLastModifyTime
    datetime dtCreationTime

    and from some reason if entered like this I always get syntax error message...

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

  7. #7
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    Can you show us your code block? (refer to the "UBB Code..." to the left for instructions on how to do this).


    John


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

  8. #8
    Member
    Join Date
    Oct 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    This is a short test case for SYS_Execute call on Win98 client machine:
    Or in case where I try to declare type FILEINFO as a record so I can use SYS_GetDirContents()...

    ... this is what I get:

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>
    test1.t(2): Syntax error -- type
    <HR></BLOCKQUOTE>


    Any idea...?
    Thanks in advance.
    Michko

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

  9. #9
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    An example might help:

    John


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

  10. #10
    Member
    Join Date
    Oct 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SYS_Execute doesn\'t run on Windows 98 /ME

    Thank you so much John. It works this way. I didn't know that FILEINFO type was already declared and I was trying to do the same so I was getting syntax errors. For this part now, it works, but this brings me to the next ste in my task which requres me to delete the file if it exists.
    Let me explain you what I'm trying to do:

    I'm trying to make an automated build verification system which would everyday at the same time (after we get our daily builds) remove existing installer from the client machine and copy the new one and after that execute it. BDW: I'm working on several machines at the same time, but it might happen that some machine would have some outdated build installed, so i have to check the latest installer's build number. The installer's file name has embeded build number so every build file name is different. I have to connect to the client and check what was the latest build that it had by retreiving the content of the temporary folder. If the client has outdated build number uninstall the product and remove the installer file, if not keep everything the way it is.
    I was able to get NTs happy with this but 98/ME just wouldn't work this way.
    Any suggestions...
    Thanks again,
    Michko

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

 

 
Page 1 of 2 12 LastLast

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 02:14 PM.

Copyright BetaSoft Inc.