Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Variabile di sistema

2 views
Skip to first unread message

Max

unread,
Apr 30, 2006, 10:07:19 AM4/30/06
to
Salve a tutti , che %variabile% di sistema bisogna usare per
lanciare IExplore.exe su pc che hanno installato windows
su volumi diversi da C:\ e che si trova di solito in
Programmi\Internet Explorer\IExplore.exe

Grazie a tutti
Saluti


Reventlov (see signature)

unread,
May 21, 2006, 8:46:10 AM5/21/06
to
Il giorno Sun, 30 Apr 2006 16:07:19 +0200, "Max" <m...@max.max> ha scritto:

>Salve a tutti , che %variabile% di sistema bisogna usare per
>lanciare IExplore.exe su pc che hanno installato windows
>su volumi diversi da C:\ e che si trova di solito in
>Programmi\Internet Explorer\IExplore.exe


Vedi quale ti può essere utile tra queste variabili di ambiente.
Oppure prova il comando dos SET (magari redirigi l'output su un file con SET
>PROVA.TXT).
Giovanni.

'***************************************************
' File: Environment.vbs (WSH sample in VBScript)
' Author: (c) G. Born
'
' Displaying environment variables by using the
' WshShell object
'***************************************************
Option Explicit

Dim Message, Title
Dim WshShell, objEnv

' Get the WshShell object.
Set WshShell = CreateObject("WScript.Shell")
' Get collection by using the Environment property.
Set objEnv = WshShell.Environment("Process")
' Read environment variables.
Message = "Environment variables" & vbCrLf & vbCrLf
Message = Message & "Path: " & objEnv("PATH") & vbCrLf
Message = Message & "Extensions: " & objEnv("PATHEXT") & vbCrLf
Message = Message & "Prompt: " & objEnv("PROMPT") & vbCrLf
Message = Message & "System Drive: " & objEnv("SYSTEMDRIVE") & vbCrLf
Message = Message & "System Root: " & objEnv("SYSTEMROOT") & vbCrLf
Message = Message & "Windows Directory: " & objEnv("WINDIR") & vbCrLf
Message = Message & "TEMP: " & objEnv("TEMP") & vbCrLf
Message = Message & "TMP: " & objEnv("TMP") & vbCrLf
Message = Message & "OS: " & objEnv("OS") & vbCrLf
' Get user-defined environment variable.
Message = Message & "Blaster: " & objEnv("BLASTER") & vbCrLf
' Initialize title text.
Title = "WSH sample " & WScript.ScriptName & " - by G. Born"
MsgBox Message, vbInformation & vbOKOnly, Title
'*** End


--
Giovanni Cenati (Aosta, Italy)
Write to user "Reventlov" and domain at katamail com
http://digilander.libero.it/Cenati (Esempi e programmi in VbScript)
--

0 new messages