VBScript
prompt in window for vbscript
I have a vbscript that runs on the command line in xp. It accepts one argument for the path to a directory.Is there a simple wa开发者_运维知识库y to prompt the user in the command line box for this?[详细]
2023-04-05 02:26 分类:问答How to print multiple files with js and asp.net
I had to run some server side code to open multiple files via javascript something to this effect: Assume r is just a reader with some data:[详细]
2023-04-05 01:32 分类:问答Pointing to different includes depending on what server the file is on
So I\'m working on a web site in ASP/VBScript. The files need to work on a development server and on a separate QA server at the same time. Unfortunately the dev server has an odd URL, so to make incl[详细]
2023-04-05 01:05 分类:问答Regex, how to replace phrases / words not within anchor links?
I\'m upgrading some code written in visual basic. The regex doesn\'t work as I\'d expected. Basically the regex is applied in a loop, it replaces keywords with anchor links. So it builds up a string[详细]
2023-04-04 20:16 分类:问答Retrieving multiple cookies in vbscript
I think this might be an easy question, but I\'m just a bit stuck. I\'m using this vbscript function to open a webpage and get the cookie.[详细]
2023-04-04 19:36 分类:问答Count how many specific characters in string
I have a search box. My admin user mig开发者_开发问答ht search for \"@MG @EB dorchester\". In ASP, I need to count how many times the symbol \"@\" appears in the string. How is the possible?Try this[详细]
2023-04-04 18:45 分类:问答Add additional text to end of array element
I am trying to get VBSCript to pass \"configure call gcid splitArray(x) delete\" for ea开发者_JAVA百科ch element in the array. Instead im getting \"configure call gcid splitArray(x)\" until the last e[详细]
2023-04-04 18:35 分类:问答VBScript - Generate a file with x lines of random text
W开发者_运维百科hat code do I need to generate a file with a specified number of lines. ie. have some variable called num_lines = 8743[详细]
2023-04-04 15:58 分类:问答Function to count number of lines in a text file
Need a function that will accept a filename as parameter and then return the number of lines in that file.[详细]
2023-04-04 15:37 分类:问答How to decode URL in classic asp if the url is pass throuh encodeURI in javascript?
I have a url that is encoded in javascript using encodeURI function: javascript code: encodeURI(\"form.asp?opt=\" + ai_opt + \"&val=\" + escape(ls_val) + \"&col=\" + as_col + \"&sg=\" +[详细]
2023-04-04 13:16 分类:问答