Computer Science Canada Sys.Exec to a certain path |
| Author: | irobots [ Mon May 06, 2013 9:58 pm ] |
| Post subject: | Sys.Exec to a certain path |
What is it you are trying to achieve? Sys.Exec What is the problem you are having? It is not executing a file which although is not in the same folder as the turing program, has the directions starting from C as to where to go. Describe what you have tried to solve this problem I put File.Exists to the location of the file i want to execute and it came back true. Sys.Exec does not work though. Please specify what version of Turing you are using 4.1.1 |
|
| Author: | Tony [ Mon May 06, 2013 11:02 pm ] |
| Post subject: | RE:Sys.Exec to a certain path |
Code demo plz. |
|
| Author: | irobots [ Tue May 07, 2013 7:03 am ] |
| Post subject: | Re: Sys.Exec to a certain path |
This is the code I have for now. The turing program will be located on the desktop. The folder "Temporary files" is also located on the desktop and inside the folder is Location.vbs which is what I want the turing program to run if not Sys.Exec ("Temporary Files/Location.vbs") then cls put "Run Failed. 'Location.vbs' is missing" end if Once again, it is recognised as a file when I run File.Exists in place of the Syhs.Exec |
|