Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Loveheart Dating - Find your Perfect Partner

Ordner Binaries, gehört das zu Vista?

microsoft.public.de.windows.vista.sonstiges



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 05-21-2007
Mario Schieke
 

Posts: n/a
Ordner Binaries, gehört das zu Vista?
Hallo!

Auf meiner Festplatte befindet sich ein Ordner "Binaries", der nicht von
Anfang an vorhanden war, den ich aber nicht erstellt habe.
Im Ordner befinden sich zwei Dateien:

_svdir.VBS
SOAPVDIR.CMD

Hat jemand vielleicht einen Tipp, von was, oder wodurch die erstellt werden?

MfG, Mario Schieke.

--
Wer aufhört besser werden zu wollen,
hat schon aufgehört gut zu sein.

___________________________________

http://www.urgixgax.de

http://www.pillen-auf-raedern.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-22-2007
Helmut Rohrbeck
 

Posts: n/a
Re: Ordner Binaries, gehört das zu Vista?
Mario Schieke schrieb:
> Auf meiner Festplatte befindet sich ein Ordner "Binaries", der nicht
> von Anfang an vorhanden war, den ich aber nicht erstellt habe.
> Im Ordner befinden sich zwei Dateien:
>
> _svdir.VBS
> SOAPVDIR.CMD
>
> Hat jemand vielleicht einen Tipp, von was, oder wodurch die erstellt
> werden?


Kannst Du evtl. herausfinden, wenn Du die Dateien mit Notepad
öffnest, dann siehst Du, welche Befehle da ausgeführt werden.

--
Helmut Rohrbeck www.helmrohr.de
Mail nur über das Kontaktformular
auf meiner Webseite!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-22-2007
Mario Schieke
 

Posts: n/a
Re: Ordner Binaries, gehört das zu Vista?
Helmut Rohrbeck schrieb:

>
> Kannst Du evtl. herausfinden, wenn Du die Dateien mit Notepad
> öffnest, dann siehst Du, welche Befehle da ausgeführt werden.
>


Ich kann den Inhalt von beiden Dateien hier einfügen:



_svdir.VBS:

----------------------

' Copyright (c) Microsoft Corporation
'
' _svdir.vbs
'
' utility to manage VDirs for Soap Toolkit 3
' for usage information call it with the HELP option
'
'
Option Explicit
'On Error Resume Next

Dim objArgs

const TargetServer = "IIS://localhost"
const DefaultSiteName = "w3svc/1/Root"
const ScriptMap = ",1,GET,POST"
const ScriptMapIIS4 = ",1,PUT,DELETE,TRACE"

'error codes returned from ScriptMap
'script returns 0 in the success case
const NO_EXECUTION = 1 ' no changes performed
const PARAM_MISSING = 2 ' missing parameter
const CSCRIPT_REQUIRED = 3 ' script was started from wscript.exe
const UNKNOWN_PARAM = 4 ' unknown command line parameter
const ISAPI_REG = 5 ' soap isapi not correctly registered
const ILLEGAL_PARAM = 6 ' illegal command line parameter
const VDIR_ERROR = 7 ' failure during vdir creation
const IIS_VERSION = 8 ' unable to determine IIS version information
const SETMAP_ERROR = 9 ' Failure setting the scriptmap
const GETOBJ_ERROR = 9 ' Failure sto acquire an IIS object


call DetectExeType

Set objArgs = WScript.Arguments
if objArgs.Count < 1 then
call DisplaySimpleHelp
WScript.Quit(PARAM_MISSING)
end if

if ucase(objArgs(0)) = "HELP" then
call DisplayHelp
WScript.Quit(NO_EXECUTION)
end if

If ucase(objArgs(0)) = "UPDATE" Then
call VDirUpdate
WScript.Quit(0)
end if

If ucase(objArgs(0)) = "CREATE" Then
call VDirCreate
WScript.Quit(0)
end if


'we can quit with an error message
call DisplayError("Unknown Paramter ("+objArgs(0)+")", UNKNOWN_PARAM, 0)





function VDirUpdate
Dim args
Dim ServiceNumber
Dim VDirName
Dim SiteName
Dim ISAPILocation
Dim i

On Error Resume Next

VDirCommand = ""
ServiceNumber = ""

Set args = WScript.Arguments
if (args.Count > 4) or (args.Count < 2) then
call DisplayError("Illegal number of parameters.", ILLEGAL_PARAM, 0)
end if

VDirName = args(1)

for i = 2 to args.Count -1
if ucase(left(args(i),3)) = "-S:" then
WScript.Echo args(i)
if (len(ServiceNumber) > 0) then
call DisplayError("Illegal service number ("+args(i)+")",
ILLEGAL_PARAM, 0)
end if
ServiceNumber = Right(args(i), Len(args(i)) - 3)
end if
if ucase(left(args(i),3)) = "-W:" then
if (len(SiteName) > 0) then
call DisplayError("Illegal website ("+args(i)+")", ILLEGAL_PARAM, 0)
end if
SiteName = Right(args(i), Len(args(i)) - 3)
end if
next

if len(ServiceNumber) = 0 then
ServiceNumber="1"
end if
if len(SiteName) = 0 then
SiteName="Root"
end if

VDirName = CreateVDirName(TargetServer, ServiceNumber, SiteName, VDirName)
ISAPILocation = DetectIsapiLocation()

call addMapping( VDirName, ISAPILocation)
end function


function VDirCreate
Dim args
Dim ServiceNumber
Dim VDirName
Dim SiteName
Dim VDirPath
DIM ISAPILocation
Dim i
'On Error Resume Next

VDirCreate= ""

Set args = WScript.Arguments
if (args.Count > 5) or (args.Count < 3) then
call DisplayError("Illegal number of parameters.", ILLEGAL_PARAM, 0)
end if

VDirName = args(1)
VDirPath = args(2)

for i = 3 to args.Count -1
if ucase(left(args(i),3)) = "-S:" then
WScript.Echo args(i)
if (len(ServiceNumber) > 0) then
call DisplayError("Illegal service number ("+args(i)+")",
ILLEGAL_PARAM, 0)
end if
ServiceNumber = Right(args(i), Len(args(i)) - 3)
end if
if ucase(left(args(i),3)) = "-W:" then
if (len(SiteName) > 0) then
call DisplayError("Illegal website ("+args(i)+")", ILLEGAL_PARAM, 0)
end if
SiteName = Right(args(i), Len(args(i)) - 3)
end if
next

if len(ServiceNumber) = 0 then
ServiceNumber="1"
end if
if len(SiteName) = 0 then
SiteName="Root"
end if

call createVDir( TargetServer, ServiceNumber, SiteName, VDirName, VDirPath)

ISAPILocation = DetectIsapiLocation()
VDirName = CreateVDirName(TargetServer, ServiceNumber, SiteName, VDirName)

call addMapping( VDirName, ISAPILocation)
end function


Function createVDir(Server, ServiceNumber, SiteName, VDirName, VDirPath)
'On Error Resume Next

createVDir = TRUE

Dim IIsObjectPath
Dim IIsObject
Dim vroot
Dim vDir

IIsObjectPath = Server + "/W3SVC/" + ServiceNumber
Set IIsObject = GetObject(IIsObjectPath)
call CHK_ERR("Error trying to get IIS Object: " + IIsObjectPath,
GETOBJ_ERROR, Err.Number)

set vRoot = IIsObject.GetObject("IIsWebVirtualDir", "Root")
call CHK_ERR ("Error trying to access IISWebVirtualDirectory 'Root' on:
" + IIsObjectPath, GETOBJ_ERROR, Err.Number)

Set vDir = vRoot.Create("IIsWebVirtualDir", VDirName)
call CHK_ERR("Unable to create " + vRoot.ADsPath + "/" + VDirName ,
GETOBJ_ERROR, Err.Number)

vDir.AccessRead = False
vDir.AccessExecute = True
vDir.AspBufferingOn= True
vDir.AccessScript = True
vDir.AspAllowSessionState = False
vDir.ContentIndexed = False
vDir.Put "Path", VDirPath
call CHK_ERR("Can't set properties for " + vRoot.ADsPath + "/" +
VDirName, VDIR_ERROR, Err.Number)

if IsIIS4() then
Const INPROC_IIS4 = True
Const OUTPROC_IIS4 = False

vDir.AppCreate INPROC_IIS4
else
Const INPROC = 0
Const OUTPROC = 1
Const POOLED = 2

vdir.AppCreate2 INPROC
end if
call CHK_ERR("Can't create web-application definition in " +
vRoot.ADsPath + "/" + VDirName, VDIR_ERROR, Err.Number)

vDir.AppFriendlyName = VDirName
vDir.SetInfo
call CHK_ERR("Unable to save configuration for " + vRoot.ADsPath + "/"
+ VDirName, VDIR_ERROR, Err.Number)

End Function




function CreateVDirName(server, number, site, vdir)
Dim temp
On Error Resume Next

temp = server + "/w3svc/" +number + "/" + site + "/" + vdir
CreateVDirName = temp
end function


Function addMapping(IIsObjectPath, isapiname)
On Error Resume Next

Dim IIsObject
dim i
dim list
dim mapString
dim doneIt

addMapping = ""
doneIt = false

Set IIsObject = GetObject(IIsObjectPath)
call CHK_ERR("Error trying to get the path of the application: " +
IIsObjectPath, GETOBJ_ERROR, Err.Number)

list = IISObject.ScriptMaps
call CHK_ERR("Error trying to query scriptmap in: " + IIsObjectPath,
GETOBJ_ERROR, Err.Number)

if IsIIS4() then
mapString = ".wsdl," + isapiname + ScriptMapIIS4
else
mapString = ".wsdl," + isapiname + ScriptMap
end if

for i = 0 to UBound(list)
if (left(list(i), 5) = ".wsdl") then
list(i) = mapString
doneIt = true
end if
next

if not doneIt then
i = ubound(list) + 1
redim preserve list(i)
list(i)= mapString
end if

IIsObject.Put "scriptmaps", (list)
IIsObject.SetInfo

call CHK_ERR("Error trying to set the scriptmap to " + mapString,
SETMAP_ERROR, Err.Number)

WScript.Echo "Registered virtual DIR: "
WScript.Echo " " + IIsObjectPath
WScript.Echo " with addition scriptmap entry:"
WScript.Echo " " + mapString
WScript.Echo

WScript.Quit(0)
End Function


' This can detect the type of exe the script is running under and
warns the
' user of the popups.
Sub DetectExeType()
Dim ScriptHost
On Error Resume Next

ScriptHost = WScript.FullName
ScriptHost = Right(ScriptHost, Len(ScriptHost) - InStrRev(ScriptHost, "\"))
If (UCase(ScriptHost) = "WSCRIPT.EXE") Then
Dim msg

msg = "This script is executed using WScript. It requires CScript
to function correctly."
msg = AddLine(msg, "Please run the script by executing")
msg = AddLine(msg, " SOAPVDIR.CMD <cmd> <param>")

WScript.Echo msg

WScript.Quit (CSCRIPT_REQUIRED)
End If
End Sub

function IsIIS4
Dim ShellObject
dim mver
On Error Resume Next

IsIIS4 = FALSE
Set ShellObject = WScript.CreateObject("WScript.Shell")

mver =
ShellObject.RegRead("HKEY_LOCAL_MACHINE\SYSTEM\Cur rentControlSet\Services\w3svc\Parameters\MajorVers ion")

if (Err <> 0) or (len(mver) < 1) then
call DisplayError("Can't determine IIS Version", IIS_VERSION, Err.Number)
End If
if CInt(mver) < 5 then
IsIIS4 = TRUE
end if
end function

function DetectIsapiLocation
Dim ShellObject
Dim location
On Error Resume Next

Set ShellObject = WScript.CreateObject("WScript.Shell")

location =
ShellObject.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\M icrosoft\MSSOAP\30\SOAPISAP\isapi")
if (Err <> 0) or (len(location) < 1) then
call DisplayError("Soap Toolkit 3 Isapi is not correctly registered.",
ISAPI_REG, Err.Number)
End If

DetectIsapiLocation = location
end function

Function CommonHelp
WScript.echo
WScript.echo "Usage:"
WScript.echo " SOAPVDIR.CMD <cmd> [<value>*]"
WScript.echo
WScript.echo "Description:"
WScript.echo " Create VDir on localhost to use Soap Toolkit 3 ISAPI or"
WScript.echo " Update VDir on localhost to use Soap Toolkit 3 ISAPI
instead of"
WScript.echo " the Soap Toolkit 2 ISAPI"
WScript.echo
CommonHelp=""
end function

Function DisplaySimpleHelp
call CommonHelp()
WScript.echo "Supported Commands:"
WScript.echo " HELP, UPDATE, CREATE"
WScript.echo
WScript.echo "Sample"
WScript.echo " soapvdir.cmd UPDATE soapsample"
WScript.echo " soapvdir.cmd CREATE soapsample c:\inetpub\wwwroot\soap"
WScript.echo
WScript.echo "For Extended Help type:"
WScript.echo " soapvdir.cmd HELP"
WScript.echo
DisplaySimpleHelp=0
end function


Function DisplayHelp
call CommonHelp()
WScript.echo "Standard Command:"
WScript.echo " Displays this help message"
WScript.echo " soapvdir.cmd HELP "
WScript.echo
WScript.echo " Updates the VDIR 'name'"
WScript.echo " soapvdir.cmd UPDATE name [-s:server] [-w:site]"
WScript.echo
WScript.echo " Create a new Vdir"
WScript.echo " soapvdir.cmd CREATE name path [-s:server] [-w:site]"
WScript.echo
WScript.echo "UPDATE Command:"
WScript.echo " 'name' is the name of the virtual directory to update."
WScript.echo " By default it is expected that this virtual directory
is located"
WScript.echo " on the root (w3svc/1/root)."
WScript.echo " The default server (1) can be changed using the '-s:'
option."
WScript.echo " The default site (root) can be changed using the '-w:'
option."
WScript.echo
WScript.echo "CREATE Command:"
WScript.echo " 'name' is the name of the virtual directory to create."
WScript.echo " 'path' is the location on disk."
WScript.echo " By default the virtual directory is created below the"
WScript.echo " root (w3svc/1/root)."
WScript.echo " The default server (1) can be changed using the '-s:'
option."
WScript.echo " The default site (root) can be changed using the '-w:'
option."
WScript.echo
WScript.echo "Samples:"
WScript.echo " soapvdir.cmd UPDATE soapsample"
Wscript.echo " is identical to"
WScript.echo " soapvdir.cmd UPDATE soapsample -s:1 -w:root"
WScript.echo
WScript.echo " soapvdir.cmd CREATE soapsample c:\soap"
Wscript.echo " is identical to"
WScript.echo " soapvdir.cmd CREATE soapsample c:\soap -s:1 -w:root"
WScript.echo
DisplayHelp=0
end function


function CHK_ERR(msg, code, errcode)
on error resume next
CHK_ERR=FALSE

if errcode <> 0 then
call DisplayError(msg, code, errcode)
end if
CHK_ERR = TRUE
end function

function DisplayError(msg, code, errcode)
DisplayError = ""
on error resume next

WScript.Echo
if errcode <> 0 then
WScript.Echo "Error (0x" + hex(errcode) + "):"
else
WScript.Echo "Error:"
end if
WScript.Echo " " + msg
WScript.Echo
WScript.Quit(UNKNOWN_PARAM)
end function

' concatenates two string with a return in the middle
' this is usefull for output in msg-boxes
function AddLine(msg, line)
on error resume next
Addline = msg + chr(13) + line
end function

----------------------


SOAPVDIR.CMD:

----------------------

@echo off
cscript -nologo "%~dp0_svdir.vbs" %1 %2 %3 %4 %5 %6 %7 %8 %9

----------------------

MfG, Mario Schieke.



--
Wer aufhört besser werden zu wollen,
hat schon aufgehört gut zu sein.

___________________________________

http://www.urgixgax.de

http://www.pillen-auf-raedern.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-22-2007
G.Born
 

Posts: n/a
Re: Ordner Binaries, gehört das zu Vista?
> Ich kann den Inhalt von beiden Dateien hier einfügen:
>

Da wirst Du wohl das SOAP-Toolkit von Microsoft a) entweder gezielt, oder b)
im Zusammenhang mit irgendwelchen .NET-Umgebungen oder c) im Zusammenhang
mit irgendwelchen Webservices installiert haben.

Gruß

G. Born

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-22-2007
Mario Schieke
 

Posts: n/a
Re: Ordner Binaries, gehört das zu Vista?
G.Born schrieb:

> Da wirst Du wohl das SOAP-Toolkit von Microsoft a) entweder gezielt,
> oder b) im Zusammenhang mit irgendwelchen .NET-Umgebungen



Hallo!
Nicht dass ich wüsste ...

> oder c) im Zusammenhang mit irgendwelchen Webservices installiert haben.


Was sind Webservices? Oder wozu sollen die sein?

MfG, Mario Schieke.

--
Wer aufhört besser werden zu wollen,
hat schon aufgehört gut zu sein.

___________________________________

http://www.urgixgax.de

http://www.pillen-auf-raedern.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-22-2007
Peter Schultz
 

Posts: n/a
Re: Ordner Binaries, gehört das zu Vista?

> Was sind Webservices? Oder wozu sollen die sein?
>
> MfG, Mario Schieke.



http://www.aki-dpg.de/Dokumente/Bad_...estutorial.pdf

Gruß Peter

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-22-2007
Mario Schieke
 

Posts: n/a
Re: Ordner Binaries, gehört das zu Vista?
Peter Schultz schrieb:

>
> http://www.aki-dpg.de/Dokumente/Bad_...estutorial.pdf
>


Hallo und danke für den Link!

Also so etwas nutze ich alles nicht, ich habe auch nur einen PC und will
mich mit Sicherheit nicht mit einem anderen über das Internet verbinden.

Was ich nutze ist ein FTP-Client, wie Filezilla. Dreamweaver, für HTML
und ab und an mal die Remoteunterstützung, um Freunden auf dem PC etwas
gerade zu rücken.

Mehr fällt mir dazu nicht ein.

MfG, Mario Schieke.


--
Wer aufhört besser werden zu wollen,
hat schon aufgehört gut zu sein.

___________________________________

http://www.urgixgax.de

http://www.pillen-auf-raedern.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista: Schalter im Windows-Explorer zum Öffnen bestimmter Ordner monika2007neu@yahoo.de microsoft.public.de.windows.vista.administration 2 06-16-2007 21:52
Wie kann man die Ordneransicht der Ordner VISTA/Programme und VISTA/Windows ändern? Mario Schieke microsoft.public.de.windows.vista.bedienung 12 05-27-2007 15:09
Vista-Aktualisierung via Upgrade-Ordner Malte Neuhaus microsoft.public.de.windows.vista.installation 3 04-17-2007 23:24
Kein Zugriff auf temporäre Ordner unter Vista / IE7 Dr. Patrick Havel microsoft.public.de.windows.vista.sicherheit 2 04-17-2007 12:17
Vista 64bit zugriff über 32bit software auf das netzwerk geht nich assassin microsoft.public.de.windows.vista.netzwerk 1 04-14-2007 11:00


All times are GMT +1. The time now is 04:40.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119