HTML - Help Caling Batch File In Html Link.
Hello, I'm creating a Web Page and need a hyperlink to a batch file on the server. I can get the link to call the batch file, however, I need to pass a parameter to the batch file. Can someone tell me how to do this, or if it is even possible. Thanks.
Similar TutorialsHow to run a batch file in HTML page? Hello everyone, I've already spent awhile trying to find something that can do this, but I'm really new to html and I'm not sure what to call it. None of my search terms came up with any relevant results. What I need to accomplish is this: I have a good size collection of images and I wanted to insert them all into a single webpage. Basically this means that I need to manually type in the same code over and over with the exception of the file name. I'm wondering if there is a program that will do that for me to save time. Additional details: I plan on using some javascript to enlarge the displayed thumbnails and show the full size image. I am using all the images in a specific folder. Any suggestions on what I can do (it doesn't have to be a program) is greatly appreciated. thank you. Hi I have this problem that my comment script is located at public_html/comments but the page that needs it is at public_html/hamburgerbar/fish/dish so in the code when i have the php include pointing at /comments, its not working how do i make the browser understand where the comments its? cause i tried with http://www.mysite.com/comments and it says permission denied. However when i move the target page in the comment folder it works like a dream. So how do i point my include link there? Thanks for help! hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. Is there a way to have one document link the coding from another htm file? What I mean is that for my website, I want there to be a logo or menu at the top of every page. So I want to know if there's a way to put it in without putting in the code of it at the top of every document and instead, just linking it to an html file that already has the code. Hi, I'm trying to include one HTML file in another. I tried iframe and was displeased with the results, I want the size of the frame to change dynamically and not just scroll. Fair warning, my knowledge of JavaScript is non-existent >_> . Basically, I have a document written in HTML (please don't suggest a wholesale re-write, that's simply not practical) and the idea is to have one file where it makes sense to include it several times. One thing to mention, this document is not meant to be shown on a web-server, but in a browser while you're reading it off your hard-drive. Here's what I have so far. main.shtml Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>test</title> </head> <body> <center> <h1> This is only a test! </h1> </center> <p> Still testing!!!!! </p> <!-- #include file="included.html" --> <p> Even more testing!!!!! </p> </body> </html> included.html Code: <!--<html> <head> <title> asdfasdfasdfasd </title> </head> <body>--> <p> <h4> foobar </h4> <br> <br> <br> <br> <h4> boofar </h4> </p> <!--</body> </html>--> Not sure what I'm doing wrong, help appreciated! Hello friends, I work for a company that sends out a monthly newsletter by email. We are trying to motivate people to print out the file to have it instead of just looking at it once in their inbox and forgetting it. So what we were thinking is we could make a file with "Print Newsletter for Pricing" in the price slots, then have another file with all the pricing that when they clicked a (presumably HTML) link like "Print File Here" it would then call up the PDF File with all the prices and print it. Is this possible? Amen, Christapher I have a webpage that appears to work with IE6 but not IE7, Firefox 3 or Chrome. I have this tag (among others) embedded in the HTML page: <a href="file:%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html" target="_blank">Internal Documentation</a> When clicked, the following edit is given: Cannot find 'file://mspfs01/shared.gsc/hrpage/hrgsc/%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html'. Make sure the path or Internet address is correct. It appears that the browser is appending the path to the file in the tag to current location path. The path in the tag is the absolute path to the index.html file on that box. And like I said, it does work with IE6. Thank you. Kevin Hi, I make a HTML navigation menu to link to different sheets (word, exel..) on my PC: I make the link as follows: <A HREF="file:///C:\file.xls">click here</A> or <A HREF="C:\file.xls">click here</A> but the destination files are opened IN the browser instead of the program (like Exel or Word).. How can I solve this? thanks! Bart My client wants a client login button on his website that will open up a piece of software on his and his employee's PC's (Microsoft terminal services client). Simply linking to C:\WINDOWS\system32\mstsc.exe doesn't seem to work. I'm guessing it's due to safety on the browsers behalf. Does anyone know how to make this work? Thanks. PS - I'm on a Mac, but my employer is on PC and it doesn't work for him either. Hello, I have a simple web page that contains an href link. When a user left clicks the link I would like to download a file. Testing the page local to my pc works fine, but when I uploaded in a Server, didn't worked correctly. Instead of downloading the file, it actually opens the file. What should I change? I am using a vserver in Plesk enviroment if that is of any use. Should I change something to the server? Hey I have some music (mp3) on my site. I want to make a link so when someone clicks the link it will download the file. I don't want them to have to right click and click save target as or anything like that. Can this be done? if not in just html can you use other code to do it? Thanks SkaFreaks I need to create a link on my company's website. Once the users click the link, it should download an excel file. the file is dynamic and it should change according to the person that logs in.. I am new to html. can you guys provide me ideas to do this... Thanks Ragha Hi all, I need to have a link on my web page which allows the user to download a file on the c: drive of my web server. Basically when they click the link they will be prompted to download this file. Any ideas on how this can be done? I tried the following on FF but it does not work... <a href="file:///C:/testUpload/CA_P1470H_2008-1209-143322.xls">major_bob_12-09.xls</a> Thanks in advance for any help. I need an way to upload a file by clicking a link instead of button(<input type="file" name="somename"/>). This feature has been newly added to GMail, to attached a file we need to click a link. Any ideas or code of how this can be done are needed. Thanks Hi ,I am new in html.Hope you can guide me step-by-step on this. I want to import my .txt file into the html form and the html form can add new item then to be add in to that particular .txt file too as well. can this be done? For example: (fruits.txt) 1.apple 2.banana 3.orange Can this fruit.txt be impoted to fruit.html page and show it at fruit.html page, at the same time, the fruit html page allow to add in new fruit, and once user add in new fruit, the fruit.txt file will be updated as well. Thanks for your guidiance and help. :-) Is there a way to have a link bring up a 'Save as...' box by default rather than having the link open the file inside my visitors' browser. More specifically, I have a long lecture on my site (mp3) that by default opens in my visitors' browsers rather than offering to be downloaded. I know visitors can right-click on the link to get a 'Save as...' box, but I would rather 'Save as...' be the default action whenever the link is clicked. I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. |