- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having trouble with the System command in my code. The specific line is:
I1 = SYSTEM('Simulation < c:\\data\\simu.dat')
Which, if I understand correctly, recognizes Simulation as Simulation.exe located in the working folder and simu.dat is the main file read by Simulation and runs Simulation.exe as if opening the exe on the desktop. However, I get a message when debugging that says 'the system cannot find the file specified." I've heard that the SYSTEM command is very compiler specific, but that's about all the information I've been able to find. Has anyone used this before?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The file was not located in the correct subfolder, however I moved it down and now I am getting an error that says Program Exception - Breakpoint which when I've gotten it before means it can't locate the file. However, according to "DIR," all the files are located in the correct location. Is there another reason I might be seeing this error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page