Login | |
|
 |
RE: Write Computername to txt file - 9/8/2006 1:12:48 AM
|
|
 |
|
| |
mikeock
Posts: 124
Score: 1
Joined: 6/8/2006
Status: offline
|
the issue is quite simple any line that has something like this: Set objFile = objFSO.OpenTextFile("C:\"computerName".txt", ForReading) need to look like this Set objFile = objFSO.OpenTextFile("C:\" & computerName & ".txt", ForReading) This will glue the quoted string and the variable together so that they are interpolated properly!
_____________________________
My sig sucks!
|
|
| |
|
|
|
|
|