Hello!
Is there a way to return results of a batch function, within a bat file, for a Basic program?
Thanks!
Returning results to basic
Moderator: DosItHelp
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa
I'm passing a simple example to make easy the comprehension.
Shell ( "findFolder.bat folderToFind")
...
So, at the end, the "findFolder.bat" shoud return the path to the "folderToFind" folder, to a Basic's variable.
I don't know how to make this possible in batch. All that I find are explanations about returning to a batch the results fom a batch function. Sometimes at the same bat file.
Is there a way?
Shell ( "findFolder.bat folderToFind")
...
So, at the end, the "findFolder.bat" shoud return the path to the "folderToFind" folder, to a Basic's variable.
I don't know how to make this possible in batch. All that I find are explanations about returning to a batch the results fom a batch function. Sometimes at the same bat file.
Is there a way?
-
- Expert
- Posts: 80
- Joined: 04 Feb 2009 10:03