-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetenv.wsf
More file actions
17 lines (16 loc) · 613 Bytes
/
Copy pathsetenv.wsf
File metadata and controls
17 lines (16 loc) · 613 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="Shift_JIS" standalone="yes" ?>
<package>
<job id="environment">
<?job error="true" debug="true" ?>
<object id="objFs" progid="Scripting.FileSystemObject" />
<script language="VBScript">
<![CDATA[
Set WshShell=WScript.CreateObject("WScript.Shell")
Set WshEnvironment=WshShell.Environment("User")
WshEnvironment.Item("IUTEST_ROOT")=WshShell.CurrentDirectory
result = "setup is completed :" + vbLf + vbLf + "[IUTEST_ROOT] " + WshEnvironment.Item("IUTEST_ROOT")
WScript.echo result
]]>
</script>
</job>
</package>