single quotes did not work, but the same command using double quotes worked perfectly, i.e. sed -e "/Hello/a\
<Greeting>Hello</Greeting>" hello.txt > hello.xml
thanks for your help.
kevin
hi,
i am trying to append some xml script to part of a file using sed, but i cannot use the < or > characters because they are special characters. i can't escape them to \< or \> either because those are also special characters. does anyone know how to append these characters? here is an...
I've been able to create a page that shows the folder structure and allows the user to write a file to a certain path, but I have no idea how the permissions work. What do I do with the IUSR_MACHINE_NAME account?
The user is only able to access the web site's folders and not their own. Is...
Thanks for the quick reply.
I have never really used the filesystem object, except to create small files while testing so I'm not familiar with using it to get folders and files. I did find a script that allows you to select a folder on the network, but I still need to digest it.
I was hoping...
Hi,
I need to be able to create a text file and save it to a specific folder on the disk. There's no problem with creating the actual file, I'm just making a filesystem object ... however, I can't figure out how to allow the user of the site to specify which folder to save the file to...
Hi there,
I've been trying to update the value of one textbox by using the onChange event when another textbox is modified. For now, I just want it to work so I'm trying to copy the exact value without any calculation, but for some reason it's not working. I suppose there's something wrong...
Richard,
Thanks for your help, it was by not setting the variables as "DAO.Database" and "DAO.RecordSet" that I was unable to connect properly. I've made some good progress and think I can continue from here.
Kevin
Hi there,
I'm new to programming in visual basic, although I do know how to use ASP and VBScript. I've been trying to figure out how to create a simple script on a form that I can use to update certain fields on a table in the database. I want to be able to find all records with a certain...
hi,
i've been trying to figure out how to restrict different users to certain paths of my website once they have logged in. the website is for an intranet that has 3 separate locations, and basically what i need is to allow some users access to only one location's pages, while other users may...
well doing a response.date gave me 12/08/2003 meaning it's DD/MM/YYYY
i tried a bunch of the different LCID's but none of them even change the date format EXCEPT for French Canada ... which gave me YYYY-MM-DD
i am positive that about a week ago the settings were on MM/DD/YYYY ... maybe my...
i'm getting the date from the server i'm sure of that cause it would just be something like this:
<input type="hidden" value="<%=Date%>" name="DateRequested">
now as for the IIS thing i'm not totally sure how to test for that ... would i have to get the server...
hi,
for some reason, whenever i am updating one of my records, it switches the date format from DD/MM/YYYY to MM/DD/YYYY or vice versa, depending on what it is originally. Here's the code (dbConnection has already been opened):
strSQL = "UPDATE WorkOrders SET Completed=True,"...
hi linney,
sorry for the late reply i've been kind of busy lately and haven't had much time on my home computer. anyhow the google links led me to a page that said i should reinstall my file/printer sharing and client for microsoft networks. i did that and it's working fine now ... weird ...
Hi all,
I've got a bit of an annoying problem on my computer. When I right click any folder in Windows Explorer and select properties, the properties menu won't show up. I can do other things to the folder such as rename it, add it to zip files, and so forth ...
As well, if I select just a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.