RE: why my scripts can not work?
For starters "i" needs to be a global variable to be able to be used in multiple functions (placed outside of a function). shell and filesystem are made valid variables and not used while var isn't put infront of Shell and FSO when they are being defined. They were some problems I noticed quickly. You may also want to refer to your syntax error in the script debugging window to understand where mistakes have been made (it would also pay to tell use what the error says there so we can have more understanding at a quicker look).
|