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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write Command setback

Status
Not open for further replies.

damzi

Programmer
Joined
May 3, 2004
Messages
66
Location
US
I am using the following script to write some data into a file. The problem I am facing is that it writes the inverted commas (" ") into my file. How may I get the data into my file without the inverted commas.

Open LogfilePointer for append as #2
write #2,"<Status>Okay</Status>"
write #2,"<CubeUrl> & Left$(sLoopFilename, Len(sLoopFilename) - 4)
write #2,"<CubeUrl>"
write #2,Format(Now, "dmmmyy h:mm:ss")
write #2,"<Msg></Msg>"
close #2

Appreciate any ideas.

Thanks !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top