As the name suggests, FSO Objects help the developers to work with drives, folders and files. Drive is an Object. Contains methods and properties that allow you to gather information about a drive attached to the system. Drives is a Collection. It Provides a list of the drives attached to the system, either physically or logically. File is an Object. It Contains methods and properties that allow developers to create, delete or move a file.
Folder is an Object. Exec "ping -n 1 Hello, That's what I've been looking for. It does the trick. I've tried to change the ping command to tracert so that I can see the IP and hostname, but all the txt file contains is the logo for MS Script host.
No information. Cheers Marty. If you like the approach jet has posted, you cannot simply replace ping by tracert to get anything out, in particular the host name. Apart from that, you can as well simply stay with the ping which provide you with the host name using -a switch.
Having said that, you need further work on instructing the script to turn out the info you want to store for brevity. These are a couple of modifications you need to implement. It is explicitly put for consistency and a little of rebustness concern. The Official Scripting Guys Forum! If your answer is "yes," you know what to do.
Dive in and help somebody! If your answer is "no," welcome to our fun little world! We'd recommend that you first head over to the Script Center, get your feet wet, and then come back to either ask or answer questions.
We can't be everywhere at once we know—shocking! The Microsoft Scripting Guys 0 1. Sign in to vote. Hi, Using a vbscript, I'm having a problem getting correct results in the log file. It copies normally and logs correctly when the images are all in one directory. CreateObject "IIS. CertObj" iiscertobj. Office Office Exchange Server. Not an IT pro? Sign in. United States English. Ask a question. Quick access. Search related threads.
Remove From My Forums. Answered by:. Archived Forums. The Official Scripting Guys Forum! If your answer is "yes," you know what to do. Dive in and help somebody! If your answer is "no," welcome to our fun little world! We'd recommend that you first head over to the Script Center, get your feet wet, and then come back to either ask or answer questions. We can't be everywhere at once we know—shocking!
The Microsoft Scripting Guys 6 7. Sign in to vote.
0コメント