...not yet - I already reached this point.
i added a set and a pause command into this batch just to show me the environment parameters (ok) - so the call should work, but I get this:
>>>>
Drücken Sie eine beliebige Taste . . .
Unzulässiger Parameter - baud=9600
Der Befehl ".." ist entweder...
Hi dm4ever,
option /c (WshShell.Run "%comspec% /c ) changes something with this cmdbox so that further commands in this startapp.bat cannot be interpreted. Removing this /c only a cmdbox is opened!?
MR
Hi all,
typing this:
<<c:\sols\runt2007_02_19\lim\startapp.bat PPLIQ300>>
into the run-box in WinXP the application starts
but how should this look like in scripting??
this does not work:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run...
I'm using UltraEdit (does anybody use notepad for developping?) so i now the line numbers on coding.
On getting a real error I think this
>>>
If Err.Number <> 0 Then
If Debug <> 0 Then
MsgBox Err.Line & "263-Error # " & CStr(Err.Number) & " " & Err.Description
End If...
How can i get the actual line number within the running vbscript?
At the moment for debugging i use a debug-switch an message-boxes:
If Debug <> 0 Then
MsgBox "227-Error reading XMLConfig"
End If
But on doing changes and adding lines i have to changes all following entries -...
... just to be give you more details:
I want to know on which server logon is disabled.
Redirect the output of the "change"-command (into a file) is not possible. :o(
we have some citrix servers and I want to check if logon is possible. with "change logon /query" it is possible to change this in a "dos box" - but it is not possible to get this information as a return parameter. has somebody done this via scripting? does anybody know the wmi-key to get this...
Hi guys,
somewhere in the web I found this one:
---------------------------------------
Function GetFileSize(strSrv,strFile,UserName,Password)
On Error Resume Next
strFile=Replace(strFile,"\","\\") 'filepath must use \\ instead of \
Set SWBemlocator =...
...ok - but I changed it to:
"C:\PMX\_log\_STACKERGW\PDLog-admin_mes.log"
I even tried "C:boot.ini" which is a windows-file but with the same result :o(
...seems to - but it does not work!
Error '0x80041017', Source (null)?
I don't know - where the problem is.
Set objSWbemServices3 = objSWbemLocator.ConnectServer(strServer3, "root\cimv2", strUser3, strPword3, "MS_409", "ntlmdomain:" + strDomain3)
Set colSwbemObjectSet3 =...
Running the following script I get the error : "file not found"!
the placehoulders contain:
strServer3: "RM2MS000651"
StackerLog: "\C$\PMX\_log\_STACKERGW\PDLog-admin_mes.log"
the login within ConnectServer is local admin!
If I map a network connection to this server, everything works fine...
Hi all,
object.AppActivate title
activates the named application
...but is it possible the find out what the active application is?
What I need is:
I have a script which check wether IE is running and then sends {F5} (refresh) to the IE - but the "object.AppActivate" removes the focus from...
Hi all,
@Jerz:
technically this would be possible - but all machines are qualified and this would be a change within the operating system which is not allowed.
@jessicatechy:
this works but I don't want to close alle cmd-processes, I need to check if a special process is running (sorry the...
...after reading many posts i think the problem is that Win2000 does not support the same informtation as WinXP :o)
I think VBscript cannot give me the needed information - but maybe you guys habe another idea!
Thanks MR
..seems nobody knows an answer?
How do you check if an application is running on a remote machine? This application is a service running in a command window. I can see that four 'cmd.exe' are running on this remote machine, but which one belongs to the application I need to keep running?
Or -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.