Mixtli Posted July 19, 2005 Posted July 19, 2005 I am trying to get into a container text field information that I type in a DOS shell. Using Send Event Script Step I have worked with a .bat file to rename and copy files on the hard drive. But now I am trying to copy the results of a command to a Global text field. For instance, if I type dir I want to get the result of that command into the text field. There may be a command to store that result into a log file. If that is possible then I could only import that log file into the database. Thanks...
Ted S Posted July 19, 2005 Posted July 19, 2005 I think I understand the question. Try this syntax: dir > temp.txt This does the dir command and directs the output to a file named temp.txt FYI: dir /o >> temp.txt would sort the results of the dir command and append (add) to whatever already exists in the temp.txt file. From there you could import the contents of the temp.txt file into FM.
SlimJim Posted July 19, 2005 Posted July 19, 2005 There is a free (donationware) plug in called shell from abstrakt which executes OS commands and also returns the results of an OS command into a text field. Look at this link http://www.abstrakt.com/shell.html
Recommended Posts
This topic is 7069 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now