Hello Logan, The script should look like the following to eliminate any need to run a command window. var string sTimeNow, string sFileName Let sTimeNow=SysGetTime ("hh-mm-ss") Let sFileName="c:\\LocationFolder\\"+sTimeNow+".txt" I hope this helps, Jon. -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Bauer Sent: Friday, January 29, 2010 09-12 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: adding file extensions to time string run("c:\\windows\\system32\\cmd.exe /c echo "+sysGetTime("hh-mm-ss"+"><filepath>") "Logan McMullen" <loganmcmullen@xxxxxxxxxxxxxxx> wrote on Sat, 30 Jan 2010 05:12:31 +1300: >Hi everyone, > >Thanks to all of you whom have provided ideas in regard to my piping output >questions. > >I've got the script running for the most part now but would like to tidy it >up as suggested by Paul by ensuring a file path and type as part of the let >statement for the time variable. > >If I use the line: >Let sTimeNow=(SysGetTime ("hh-mm-ss")) > >The system time is stored in the desired variable in the desired format but >I've not be able to work out how to build this function call into a file >path/type structure without causing errors. > >I've tried the statement: >Let sTimeNow="c:\\LocationFolder\\"(SysGetTime ("hh-mm-ss"))".txt' >But the script manager reports that the hh-mm-ss part of the function call >is an unknown variable. > >I've given a number of other ideas a go but would appreciate any suggestions >that people might have as to a nice tidy way to make this happen. > >Regards, > >Logan. > > >__________ Information from ESET NOD32 Antivirus, version of virus signature >database 4818 (20100129) __________ > >The message was checked by ESET NOD32 Antivirus. > >http://www.eset.com > > >__________ >Visit and contribute to The JAWS Script Repository http://jawsscripts.com > >View the list's information and change your settings at >//www.freelists.org/list/jawsscripts __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at //www.freelists.org/list/jawsscripts __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at //www.freelists.org/list/jawsscripts