geezery Posted June 19, 2007 Share Posted June 19, 2007 (edited) I think it might work if you change the line like this.strdesktop = Act.SpecialFolders("Desktop")Rpt = (strdesktop & "\" & CN & "_KbReport.hta")This is because Desktop is "Työpöytä" in finnish. I think the name changes on every language.There was also an error later on, I'll think it was line 82 after my changes. It worked perfectly. It's nice to see tools like this. This can be very useful, but I think it needs more features. But very níce start. Edited June 19, 2007 by geezery Link to comment Share on other sites More sharing options...
gunsmokingman Posted June 19, 2007 Share Posted June 19, 2007 This line runs the script the use of Chr(34) is to add quotes to take out spaces, now I have no way of testing this on any other langauge other then english. The other thing to note is that all the services needed for updates can not be disable as this uses thatobject.Runs The HTA Set Arg1 = Fso.GetFile(Rpt) Act.Run("mshta.exe " & Chr(34) & Arg1.Path & Chr(34)),1,TrueThis returns the path to the user desktop, it might be different for other langauges.Rpt = Act.ExpandEnvironmentStrings("%UserProfile%\desktop\" & CN & "_KbReport.hta")geezery, I will change the desktop varible I use to what you posted, thanks. Link to comment Share on other sites More sharing options...
chriskoivu Posted June 20, 2007 Share Posted June 20, 2007 I think it might work if you change the line like this.strdesktop = Act.SpecialFolders("Desktop")Rpt = (strdesktop & "\" & CN & "_KbReport.hta")This is because Desktop is "Työpöytä" in finnish. I think the name changes on every language.There was also an error later on, I'll think it was line 82 after my changes. It worked perfectly. It's nice to see tools like this. This can be very useful, but I think it needs more features. But very níce start.Kitoksia Paljon Link to comment Share on other sites More sharing options...
geezery Posted June 20, 2007 Share Posted June 20, 2007 Ole hyvä. I can see you have some finnish roots or something "koivu"? Is a birch in finnish. Link to comment Share on other sites More sharing options...
chriskoivu Posted June 22, 2007 Share Posted June 22, 2007 Ole hyvä. I can see you have some finnish roots or something "koivu"? Is a birch in finnish.Yes. My Great Grandfather came from Turku. my last name was originally Koivuniemi Link to comment Share on other sites More sharing options...
severach Posted June 22, 2007 Share Posted June 22, 2007 I found BAT files to be unworkable and Autopatcher, while nice, will never be current. I use WindizUpdate to stay current with all Windows OS at the minimum possible download cost. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now