Specifications
Renaming the Default Website ................................................629
Changing the Website Location
..............................................630
Setting the Website’s Default Document
...................................631
Working Without a Default Document
.....................................632
Disabling Anonymous Access
..................................................635
Viewing the Server Logs
.........................................................637
29 Adding Macs to Your Windows 7 Network 641
Making Sure That SMB Support Is Activated in Mac OS X Tiger
............641
Connecting to the Windows Network
..............................................643
Connecting to a Windows Shared Folder
..........................................644
Connecting to a Seen Windows PC
..........................................644
Connecting to an Unseen Windows PC
....................................645
Working with the Windows PC’s Shared Folders
........................647
Unmounting a Windows Shared Folder
....................................648
Backing Up Mac Data to a Windows Shared Folder
.....................648
Using a Mac to Make a Remote Desktop Connection to
Windows 7
................................................................................649
Letting Windows Computers See Your Mac Shares
.............................652
30 Scripting Windows 7 with WSH 657
Understanding Windows Script Host
...............................................657
Scripts and Script Execution
...........................................................659
Running Script Files Directly
..................................................660
Using WScript for Windows-Based Scripts
.................................660
Using CScript for Command-Line Scripts
..................................661
Script Properties and .wsh Files
...............................................662
Running a Script as the Administrator
......................................664
Programming Objects
....................................................................665
Working with Object Properties
..............................................666
Working with Object Methods
................................................667
Assigning an Object to a Variable
............................................668
Working with Object Collections
.............................................669
Programming the WScript Object
....................................................670
Displaying Text to the User
....................................................671
Shutting Down a Script
..........................................................671
Scripting and Automation
......................................................671
Programming the WshShell Object
..................................................677
Referencing the WshShell Object
.............................................677
Displaying Information to the User
.........................................677
Running Applications
............................................................681
Microsoft Windows 7 Unleashed
xviii










