Version 7.0 Problem mit "!" im Pfad

Version 7.0 Problem mit "!" im Pfad

Postby gs999999 » 13.10.2011, 03:50

Hallo,
folgender Setup.
Installation in "I:\!-OFFLINE UPDATE-!\wsusoffline"
Automatischer Update von wsusoffline und download der Patches via Scheduler.
Manueller Aufruf des Update Installers.

Seit Version 7.0 (installiert am 10.10.2011) wird beim Start des Update installers eine Fehlermeldung ausgegeben.

Script Path not contain !%&()^+,;=

Ich verwende die Software nun seit über einem Jahr an besagter Stelle und plötzlich ist der Pfad falsch ???

MfG
gs999999
 

Re: Version 7.0 Problem mit "!" im Pfad

Postby -Iwan- » 13.10.2011, 06:21

Die besagten Sonderzeichen haben in Ordner- und Dateinamen nichts zu suchen.
Interessant ist, das es bisher funktioniert hat.
-Iwan-
 
Posts: 364
Joined: 02.11.2009, 17:49
Location: NRW, Germany

Re: Version 7.0 Problem mit "!" im Pfad

Postby gs999999 » 13.10.2011, 07:40

Jedem seine Meinung. Wer bestimmt das denn ???
Ich halte mich da an die Definitionen von Microsoft. Dort ist weder ein Ausrufungszeichen noch ein Minuszeichen erwähnt.

Darf ich mal kurz zitieren ? http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Use any character in the current code page for a name, including Unicode characters and characters in the extended character set (128–255), except for the following:
The following reserved characters:

< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

Integer value zero, sometimes referred to as the ASCII NUL character.
Characters whose integer representations are in the range from 1 through 31, except for alternate data streams where these characters are allowed. For more information about file streams, see File Streams.
Any other character that the target file system does not allow.



MfG
gs999999
 

Re: Version 7.0 Problem mit "!" im Pfad

Postby aker » 13.10.2011, 16:51

Ja, aber bei CMD Skripts werden Variable mit
Prozentzeichen
Code: Select all
%Variable%

oder
innerhalb einer Schleife mit
Ausrufezeichen
Code: Select all
!Variable2!

gekennzeichnet und dementsprechend verarbeitet.
Darum sollte der Pfad, um Fehler zu vermeiden, diese Zeichen nicht enthalten.

Viele Grüsse
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 56 guests

cron