Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kpierick

    File Upload not working

    The problem with that is that this is a web application. So if someone on the "web" uploades a file - won't it upload the the files to the "c:/" drive of the machine that the user is on - rather than on the web server itself. I need to be able to view whatever files/images...
  2. kpierick

    File Upload not working

    I have the following code an html form that posts to an asp page see &quot;general&quot; code below: Add-Item-Form.html <form method=&quot;post&quot; action=&quot;Add-Item.asp&quot; enctype=&quot;multipart/form-data&quot;> <tr> <td align=&quot;Right&quot; width=&quot;380&quot;><P...
  3. kpierick

    IP Address release and renew

    ok - I copied your code above and put it in an html page...that sits on my web server. The only change I made, was to output the results to a text file: wsh.run &quot;%comspec% /c ipconfig /release > c:\release.txt&quot;,1,true I click on the button in the &quot;form&quot; and when I do it...
  4. kpierick

    IP Address release and renew

    I've tried this and the code runs, except it does the release for the ip address of the &quot;actual web server&quot; rather than the end-users machine...???? Is there a way that it works with Netscape and Mac systems??? thanks, kpierick
  5. kpierick

    IP Address release and renew

    Does anyone know how to make the following happen: Web Page with a button - once the user clicks on the button it needs to run a vbscript that does an IPCONFIG /release and /renew command on the &quot;users machine&quot; NOT on the web server. I tried using WScript - shell.run...
  6. kpierick

    executing &quot;netsh exec&quot; command from a script

    I got it running thanks...I really do appreciate all your help... kpierick
  7. kpierick

    executing &quot;netsh exec&quot; command from a script

    When I specify the user and pwd in the following: Set Service = Locator.ConnectServer(Server, &quot;root\cimv2&quot;, user, pwd) I get the following error now: User credentials cannot be used for local connections any ideas?
  8. kpierick

    executing &quot;netsh exec&quot; command from a script

    Ok - I've found out that all the above fields in my post need to be &quot;declared&quot;...once I do that, I get an error: access is denied when it runs the following line Set Service = Locator.ConnectServer(Server, &quot;root\cimv2&quot;, user, pwd) where I have defined the following...
  9. kpierick

    executing &quot;netsh exec&quot; command from a script

    Ok - I've put the above into my code. I'm getting a variable undefined error. Are Process, Locator, Service all reserved words for WMI or do they need to be declared first? Also you have the following line: intStatus = Process.Create(&quot;cmd /C &quot; & strCmd, null, null, intProcessId)...
  10. kpierick

    executing &quot;netsh exec&quot; command from a script

    k - I will try that, but a couple of questions??? Function Remote_Cmd(Server, accnt, pwd, strCmd) server = the IP address of the scope I'm wanting to run my commands on? or the IP Address of the actual machine that my DHCP server (windows) and my Web Server are running on? accnt & pwd =...
  11. kpierick

    executing &quot;netsh exec&quot; command from a script

    When I &quot;delete excluderange&quot; using netsh (exclusion range for one of my scopes) it doesn't show anything in this log file...but yes it does actually do the delete of the exclusion range I specify in my DHCP server. I would agree with your thoughts on the permissions. How would I go...
  12. kpierick

    executing &quot;netsh exec&quot; command from a script

    I found the following DHCP Audit Log file: DHCPSRVLOG.Tue I opened up this file in Notepad and it contains the following: Microsoft DHCP Service Activity Log Event ID Meaning 00 The log was started. 01 The log was stopped. 02 The log was temporarily...
  13. kpierick

    executing &quot;netsh exec&quot; command from a script

    I tried the above with out the &quot;-f&quot; option...still the same error: The command needs a valid Scope IP Address. ???????? Thanks, kpierick
  14. kpierick

    executing &quot;netsh exec&quot; command from a script

    THANK YOU; THANK YOU; THANK YOU; I now see the error of my ways...this was executing all along, just I was too dumb to output the results of the execution of a text file.... Now there is one thing that is strange about when this executes. My code I listed previously writes all my commands I...
  15. kpierick

    executing &quot;netsh exec&quot; command from a script

    Ok - tried this, but it still &quot;hung up&quot; my I.E. So I used instead the following: wsh.run &quot;cmd /c netsh show helper > c:\output.txt&quot;,1, True &quot;cmd /c&quot; instead of &quot;cmd /k&quot; This created a file called output.txt on my harddrive just like it should... so I...
  16. kpierick

    executing &quot;netsh exec&quot; command from a script

    Ok - I did that... when I put the &quot;cmd /k&quot; in the strSH.run line...it show in the status bar of my I.E6.0 that it is going, but it gets to about 1/2 way and never goes any further...I have an &quot;hour glass&quot; for my cursor and the DOS prompt never &quot;opens up&quot;...I...
  17. kpierick

    executing &quot;netsh exec&quot; command from a script

    I put the following in my code: strSH.run &quot;cmd /c netsh show helper&quot;,1,True and NOTHING happened...it didn't start/run my dos prompt. Do I maybe need to alter some settings for IIS5.0 or something? I haven't changed any settings for IIS5.0 - I just installed it and started coding...
  18. kpierick

    executing &quot;netsh exec&quot; command from a script

    Thanks for all your replies, but still not working. Ok here is my code: I have a function before this that obtains my values for 2 variables below: strIP and strMAC I then call the following function: <%Function CreateDHCPEntry()%> <%set strFSO =...
  19. kpierick

    executing &quot;netsh exec&quot; command from a script

    In my code, it acts as though it really maybe never even runs the line of code. It never displays an error or anything. This is so &quot;totally&quot; weird...I'm at a loss of what to do... Netsh is a command-line and scripting utility for Windows 2000 networking components for local or...
  20. kpierick

    executing &quot;netsh exec&quot; command from a script

    Here is a little more background on what I'm trying to do. This script is contained in a web page (that sits on a machine that is running Win2000, IIS5.0 and DHCP) We will be having our customers go to this webpage and enter in name, city, phone...once they submit this form, I have some...

Part and Inventory Search

Back
Top