|
ASP pages don't connect to anything. They're pages that have code that either runs server-side or have VBScript and/or JavaScript that runs on the client side in a browser. So, I have no idea what you're talking about by "connect".
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Connects in the sense..how can I call my shellscripts frm ASP running on windows and the scripts are in Unix boxes
|
|
|
|
|
The problem you have is that ASP is just code that builds HTML pages, not a language.
I don't know of an RSH component that you can include in a web page. That doesn't mean they don't exist, just that I don't know of any.
You can't use the .EXE because you can't run it from inside a browser.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
cant we use servlet for running that.exe..moreover...r u/anyone aware of Expect cmd frm TCL to login remotely...i mean frm windows to Unix..which i can put as my code something liek
Runtime.**** exec("cd /home")
sthng like that..???
|
|
|
|
|
i need some addresses for finding information about real time systems and real time applications
thank you
|
|
|
|
|
|
thank you very much
could you help me another time?
i need some addresses where i can find code about any real time application.
|
|
|
|
|
how can I work out a anti-delete file system by using ifsddk?
|
|
|
|
|
Hi,
Currently window xp is installed in my system.When we right click on folder,the context has open,explore,serach,cut,copy..paste item in it...i don`t exactly remember what changes i made..the context menu items has changed to serach,open,explore and so on..i want to restore it back to default settings..what to do...?
Thanks in before
Ramu.....
E-Ramu
|
|
|
|
|
Do you still right click on the folder or any other item?
|
|
|
|
|
Hi,
i'm trying to automate a task through batch file. I'm trying to make a backup of a folder using winrar (rar.exe console app), but i cant get to name the file using the current date (or time).
Here's what i'm doing,
assume there is a folder named "data"
to rar the folder, i do this
rar a backup.rar data\
which works fine. (Creates a backup.rar file with all files in the data folder)
Now, the windows xp sp2 command line
date /t
returns the current system date like this
c:\>date/t<br />
24-Nov-06
I want to append the date to the file name, so that the rar operation would look like this
(expected output - backup-24-Nov-06.rar)
rar a backup-%1.rar data\
Where %1 is the date. How can i pipe the output of date /t to rar?
I tried creating a batch file
test.bat
rar a backup-%1.rar data\
and call it these ways
test date/t<br />
or<br />
test < date/t<br />
or<br />
date/t | test<br />
but none works.
Can anyone who can help me on this (any solution, with or without batch file usage)?
|
|
|
|
|
Try the predefined %DATE% variable (it's works for me on Vista, not sure if it's in previous OSes though).
|
|
|
|
|
Thanks! It works fine in Windows XP SP2 too!
|
|
|
|
|
I have a used laptop in which I want to install Windows XP. I I have an MSDN subscription so I downloaded the OS, burned it onto a CD. When I load it into the laptop (which currently has no OS) it says it's an invalid disk.
What am I missing here?
Note that I used virtual Daemon manager to breakdown the ISO file. When I open the setup file on my normal laptop, it runs fine (I get the menu to install XP).
-- modified at 22:35 Wednesday 22nd November, 2006
____________________________________________________
If at first you don't succeed, skydiving might not be for you.
|
|
|
|
|
Did you forget to cut the CD with the Bootcat.bin and Bootcat.img files?
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Don't unzip the ISO image, use a burning app (like Deep Burner[^] which is free) that will write the ISO directly to the disk.
|
|
|
|
|
dumpchk - how do I get command line parameters which launched the dumped process? I ran dumpchk on dump file. Dump file shows path to target process executable (see below) but how do I get command line parameters which launched the target process? (I already installed debugger symbol... perhaps i need to restart)
Thanks.
--------------------------------------------------------------
<br />
C:\>dumpchk C:\data\ttl_2136.dmp<br />
Loading dump file test_2136.dmp<br />
<br />
Loading Dump File [test_2136.dmp]<br />
User Mini Dump File with Full Memory: Only application data is available<br />
<br />
WARNING: Minidump contains unknown stream type 0xf<br />
<br />
Microsoft (R) Windows User-Mode Debugger Version 5.1.2600.0<br />
Copyright (c) Microsoft Corporation. All rights reserved.<br />
<br />
Loaded dbghelp extension DLL<br />
The call to LoadLibrary(ext) failed with error 2.<br />
Please check your debugger configuration and/or network access<br />
Loaded exts extension DLL<br />
The call to LoadLibrary(uext) failed with error 2.<br />
Please check your debugger configuration and/or network access<br />
Loaded ntsdexts extension DLL<br />
Windows XP Version 2600 (Service Pack 2) UP Free x86 compatible<br />
Debug session time: Thu Nov 23 01:06:29 2006<br />
System Uptime: not available<br />
Symbol search path is: *** Invalid *** : Verify _NT_SYMBOL_PATH setting<br />
Executable search path is:<br />
*********************************************************************<br />
* Symbols can not be loaded because symbol path is not initialized. *<br />
* *<br />
* The Symbol Path can be set by: *<br />
* using the _NT_SYMBOL_PATH environment variable. *<br />
* using the -y <symbol_path> argument when starting the debugger. *<br />
* using .sympath and .sympath+ *<br />
*********************************************************************<br />
----- User Mini Dump Analysis<br />
<br />
MINIDUMP_HEADER:<br />
Version A793 (610A)<br />
NumberOfStreams 8<br />
Flags 6<br />
<br />
Streams:<br />
Stream 0: type ThreadListStream (3), size 00000034, RVA 000000D0<br />
Stream 1: type ModuleListStream (4), size 00000874, RVA 00000104<br />
20 modules<br />
<br />
*** Path to executable is shown but what parameter? To find out, install "Window Symbol Packages" from Then Windows Symbol Packages: http:
<br />
RVA 00000108, 00400000 - 00410000: 'C:\tools\unpacked\test\ttl.exe'<br />
RVA 00000174, 7c900000 - 7c9b0000: 'C:\WINDOWS\system32\ntdll.dll'<br />
RVA 000001E0, 7c800000 - 7c8f4000: 'C:\WINDOWS\system32\kernel32.dll'<br />
RVA 0000024C, 71ab0000 - 71ac7000: 'C:\WINDOWS\system32\ws2_32.dll'<br />
RVA 000002B8, 77c10000 - 77c68000: 'C:\WINDOWS\system32\msvcrt.dll'<br />
RVA 00000324, 71aa0000 - 71aa8000: 'C:\WINDOWS\system32\ws2help.dll'<br />
RVA 00000390, 77dd0000 - 77e6b000: 'C:\WINDOWS\system32\advapi32.dll'<br />
... other stuff ...<br />
RVA 0000075C, 77d40000 - 77dd0000: 'C:\WINDOWS\system32\user32.dll'<br />
RVA 000007C8, 76390000 - 763ad000: 'C:\WINDOWS\system32\imm32.dll'<br />
RVA 00000834, 629c0000 - 629c9000: 'C:\WINDOWS\system32\lpk.dll'<br />
RVA 000008A0, 74d90000 - 74dfb000: 'C:\WINDOWS\system32\usp10.dll'<br />
RVA 0000090C, 71a90000 - 71a98000: 'C:\WINDOWS\system32\wshtcpip.dll'<br />
Stream 2: type Memory64ListStream (9), size 00000790, RVA 00001D87<br />
120 memory ranges<br />
RVA 0x2517 BaseRva<br />
range# Address Size<br />
0 00010000 00001000<br />
1 00020000 00001000<br />
2 0012c000 00004000<br />
3 00130000 00003000<br />
4 00140000 00010000<br />
5 00240000 00006000<br />
6 00250000 00003000<br />
7 00260000 00016000<br />
... blah blah blah ...<br />
113 7c97f000 00002000<br />
114 7c981000 0002f000<br />
115 7f6f0000 00007000<br />
116 7ffb0000 00024000<br />
117 7ffdd000 00001000<br />
118 7ffdf000 00001000<br />
119 7ffe0000 00001000<br />
Stream 3: type SystemInfoStream (7), size 00000038, RVA 00000080<br />
Stream 4: type ??? (15), size 00000018, RVA 000000B8<br />
Stream 5: type HandleDataStream (12), size 00000410, RVA 00001977<br />
Stream 6: type UnusedStream (0), size 00000000, RVA 00000000<br />
Stream 7: type UnusedStream (0), size 00000000, RVA 00000000<br />
<br />
Windows XP Version 2600 (Service Pack 2) UP Free x86 compatible<br />
Debug session time: Thu Nov 23 01:06:29 2006<br />
System Uptime: not available<br />
The call to LoadLibrary(ext) failed with error 2.<br />
Please check your debugger configuration and/or network access<br />
PEB at 7ffdd000<br />
*************************************************************************<br />
*** ***<br />
*** ***<br />
*** Your debugger is not using the correct symbols ***<br />
*** ***<br />
*** In order for this command to work properly, your symbol path ***<br />
*** must point to .pdb files that have full type information. ***<br />
*** ***<br />
*** Certain .pdb files (such as the public OS symbols) do not ***<br />
*** contain the required information. Contact the group that ***<br />
*** provided you with these symbols if you need this command to ***<br />
*** work. ***<br />
*** ***<br />
*** ***<br />
*************************************************************************<br />
error 3 InitTypeRead( nt!PEB32 at 7ffdd000)...<br />
Finished dump check<br />
<br />
C:\><br />
Norman Fung
|
|
|
|
|
First, download the latest debugging tools for Windows from http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx[^]. The current 32-bit release is version 6.6.7.5.
Secondly, go to Control Panel, System, Advanced tab, and click Environment Variables. Under 'System Variables' click New, enter _NT_SYMBOL_PATH for the Variable Name, then an appropriate path for the value. This is a semicolon-separated list of directories to look for debugging symbols in. The newer versions of the debugging tools support downloading symbols from an online symbol server using the HTTP protocol. I set this environment variable to C:\Windows;C:\Windows\System32;SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols .
The SRV* part tells the debugger to download symbols from the URL to the C:\WebSymbols folder. This folder is created if it doesn't exist. Next time you run dumpchk, the debugger will download the symbols it needs to find out where to look in memory for the program's command line parameters. This may take a little while.
|
|
|
|
|
Thanks, can you explain this though?
C:\Windows;C:\Windows\System32;SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols
can be broken down into:
1. C:\Windows;
2. C:\Windows\System32;
3. SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols
I don't understand (3)
Norman Fung
|
|
|
|
|
SRV tells the debugger that what follows is an instruction to symsrv.dll to access an online symbol server. You then split it at the * characters:
C:\WebSymbols is the local cache directory, so that the debugger doesn't have to go back to the server every time for a specific DLL version's debugging symbols. This folder is organised by symbol file name (e.g. kernel32.pdb) then by a hash of the DLL's contents (I think). Each time the DLL is updated, the hash will no longer match and symsrv.dll will (try to) download the symbols matching the new version.
http://msdl.microsoft.com/download/symbols is the URL for Microsoft's symbol server, which provides the debugging symbols to symsrv.dll.
More information can be found in the Debugging Help help file - look for 'symbol servers' in the Index.
You can use the symchk utility to preload your local cache.
|
|
|
|
|
Thanks Mike... but I am still not getting command line argument which started the test/target process:
<br />
C:\>dumpchk test_3324.dmp<br />
Loading dump file test_3324.dmp<br />
<br />
Loading Dump File [test_3324.dmp]<br />
... lots of stuff ...<br />
Loaded dbghelp extension DLL<br />
The call to LoadLibrary(ext) failed with error 2.<br />
Please check your debugger configuration and/or network access<br />
Loaded exts extension DLL<br />
The call to LoadLibrary(uext) failed with error 2.<br />
Please check your debugger configuration and/or network access<br />
Loaded ntsdexts extension DLL<br />
Windows XP Version 2600 (Service Pack 2) UP Free x86 compatible<br />
Debug session time: Fri Nov 24 07:32:00 2006<br />
System Uptime: not available<br />
WARNING: SRV*C:\WebSymbols*http:
essible, ignoring<br />
Symbol search path is: C:\Windows\Symbols;C:\Windows;C:\Windows\System32<br />
Executable search path is:<br />
... lots of stuff ...<br />
Windows XP Version 2600 (Service Pack 2) UP Free x86 compatible<br />
Debug session time: Fri Nov 24 07:32:00 2006<br />
System Uptime: not available<br />
The call to LoadLibrary(ext) failed with error 2.<br />
Please check your debugger configuration and/or network access<br />
PEB at 7ffdf000<br />
*** WARNING: Unable to verify checksum for test.exe<br />
*** ERROR: Module load completed but symbols could not be loaded for test.exe<br />
*** ERROR: Symbol file could not be found. Defaulted to export symbols for dnsa<br />
pi.dll -<br />
*** ERROR: Symbol file could not be found. Defaulted to export symbols for rasa<br />
dhlp.dll -<br />
*** ERROR: Symbol file could not be found. Defaulted to export symbols for user<br />
32.dll -<br />
*** ERROR: Symbol file could not be found. Defaulted to export symbols for gdi3<br />
2.dll -<br />
*** ERROR: Symbol file could not be found. Defaulted to export symbols for kern<br />
el32.dll -<br />
error 3 InitTypeRead( nt!PEB32 at 7ffdf000)...<br />
Finished dump check<br />
<br />
C:\><br />
....
Norman Fung
|
|
|
|
|
norm wrote: *** ERROR: Symbol file could not be found. Defaulted to export symbols for kern
el32.dll -
That's your problem. It's coming from:
WARNING: SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols is not acc
essible, ignoring
Are you sure you're running dumpchk from the latest version of the debugging tools? The version I have doesn't say anything about loading debugger extensions.
|
|
|
|
|
Yes I believe I downloaded dumpchk not long ago, from here:
http://download.microsoft.com/download/win2000srv/Utility/3.0/NT45/EN-US/Oem3sr2.zip
Why is it the "latest" version won't work? Where can I get a version which actually works?
Norman Fung
|
|
|
|
|
Hello,
my software communicates with an electronic device
via UDP, port 165. On some computers (networkadapters)
the UDP pakets from the device are discarded, because of
checksum errors. The checksum is calculated correctly,
you can see the pakets in Ethereal (with checksum error).
How can I solve this problem? Thanks in advance.
Frank
|
|
|
|
|
Can i know how to ping remote systems on windows 2000 professional operating system using WMI can u please provide example in C++.
i have the following script example
strComputer = "PC1;PC2;"
sArray = Split(strComputer, ";")
strDomain = "WOrkArea"
strUser = InputBox("Enter user name")
strPassword = InputBox("Enter password")
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
For each Machine in sArray=
Set objWMIService = objSWbemLocator.ConnectServer(strComputer, _
"root\CIMV2", _
strUser, _
strPassword, _
"MS_409", _
"ntlmdomain:" + strDomain)
Set colProcessList = objWMIService.ExecQuery _
("SELECT * FROM Win32_Process WHERE Name = 'notepad.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
Next
can u please help with c++ code using WMI to run on Windows 2000 professional
Thanks in Advance
abhi
|
|
|
|