Ok, i just want to say i've been lurking around these boards for a few months now and have learned alot and would like to thank yall for that. I have a questions about writing data to files. I'm writing a program that creates a file that you can enter into your registry.
The problem is if i use the
write #1, "stuff in here"
it will come out in the file as
"stuff in here"
and if i use the
print #1, "stuff in here"
it will come out in the file as
stuff in here
now the print function will work fine for part of what i want to do, like for this:
[HKEY_LOCAL_MACHINE\SOFTWARE\APPNAME]
but,as you know (if you've ever looked at registry entries), there are parts that look like this:
"WinLeft"="-4"
"WinTop"="-4"
"WinCx"="808"
"WinCy"="580"
"MaxCx"="808"
"MaxCy"="580"
"Share Save Folder"=dword:00000001
"DefFlag"="0"
how would i print it like that? to where i would have QUOTES around one part of the text, then no quotes around the equal sign, and then quotes around the -4 part?
Thanks for any help yall might be able to give.
The problem is if i use the
write #1, "stuff in here"
it will come out in the file as
"stuff in here"
and if i use the
print #1, "stuff in here"
it will come out in the file as
stuff in here
now the print function will work fine for part of what i want to do, like for this:
[HKEY_LOCAL_MACHINE\SOFTWARE\APPNAME]
but,as you know (if you've ever looked at registry entries), there are parts that look like this:
"WinLeft"="-4"
"WinTop"="-4"
"WinCx"="808"
"WinCy"="580"
"MaxCx"="808"
"MaxCy"="580"
"Share Save Folder"=dword:00000001
"DefFlag"="0"
how would i print it like that? to where i would have QUOTES around one part of the text, then no quotes around the equal sign, and then quotes around the -4 part?
Thanks for any help yall might be able to give.