Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tmourad

    Closing a Batch File in ASP - help

    dilletante, thanks. i realized there was confusion between CreateTextFile and OpenTextFile... i am closing the objects once i'm done with them... however, although my script is fine still can't close the MS-DOS window which I assumed would close if i had testfile.WriteLine "exit" as...
  2. tmourad

    Closing a Batch File in ASP - help

    Thanks for responding doug. Here's a sample code for CreateTextFile from DevGuru Code: <% Dim filesys, testfile Set filesys = CreateObject(&quot;Scripting.FileSystemObject&quot;) Set testfile= filesys.CreateTextFile(&quot;c:\somefile.txt&quot;, True) testfile.WriteLine &quot;Your text goes...
  3. tmourad

    Closing a Batch File in ASP - help

    I have this code which creates a batch file. What I'm trying to do is close it once it's finished running. Set fs = Server.CreateObject(&quot;Scripting.FileSystemObject&quot;) Set MyFile_bat = fs.CreateTextFile(filename_bat, True) strLine = &quot;C:\MiniSoft\WS92\ws92_32.exe...

Part and Inventory Search

Back
Top