July 19, 200520 yr 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...
July 19, 200520 yr 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.
July 19, 200520 yr 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
Create an account or sign in to comment