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...
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.