I need to enter a £ character in a command I'm running from a batch file. If I just enter £ in the batch file, it produces ú at runtime. Is there a way I can specify Chr(156) in the batch file? thanks
I need to enter a £ character in a command I'm running from a batch file. If I just enter £ in the batch file, it produces ú at runtime. Is there a way I can specify Chr(156) in the batch file? thanks
Try "escaping" it with a ^ in front of it... if not, have a google about escaping in batch files.
I cant remember the batch file in question i escaped some symbols or i'd dig it out and see what i did.
Here's something that may help explain more:
http://www.robvanderwoude.com/escapechars.html
Thanks for pointing me in the right direction, but can't seem to escape the £ sign for some reason.
Edit: Managed to sort this by using a VBSscript instead in the end.
Last edited by meastaugh1; 21st January 2008 at 10:04 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)