Jump to content

Martin Zugec

Member
  • Posts

    1,368
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Czech Republic

Everything posted by Martin Zugec

  1. But be carefull, FileSystemObject is quite "vulnerable" object and is many times corrupted! That is why I am usually switching to other scripting methods when I want to work with FS and I need to be sure everything will be allright
  2. I already thought this way... but it didnt help (for me). Am I the only person where it is working as it should?
  3. I know a guy that is programmer for game consoles - he said programming for PS is hell, for Xbox it is quite easy... And now the hole between this two systems will be bigger - PS3 with cell technology will be much more proprietar solution, MS announced new developer tool for xbox last week (BetaPlace?)... Really looking forward for first realworld products!
  4. Well, in that case U should use txt? or txt*... This is really strange, practical problem is for example htm vs. html
  5. Use Logoff script... I cant remember, where in registry it is, but simply run regmon looking for writing to registry and define logoff in policy...
  6. Download small program handle from sysinternals... Then just from cmd use command handle TDA-1.6.26.73-install-EN.exe Then U will see which process is holding that file. Then U just need to include command wmic process where name="process.exe" call terminate , where process.exe is name of the process holding that file
  7. Oh, one more thing, could U please add timeout? E.g. run installations after x seconds? If user change something, stop timer... And when there is -1, run without giving user ability to change anything?
  8. Found interesting error... Open command line (Start - Run - cmd.exe & enter) Now create two files - test.txt and test.txt2 echo. > test.txt echo. > test.txt2 Next use command del *.txt It should delete only test.txt file, but instead it deleted both of them... I found this behavior on many XP machines, mine (5.1.2600.2149) is working as expected (but newer version 5.1.2600.2180 is acting bad way, too)... How is it working on your PCs? EDIT: I forgot, same problem with dir command, e.g. dir *.txt
  9. Ok, quite hard request - add ability to switch between single/batch. What I mean? Batch - the same way it works now Single - instead of check boxes there will be only buttons available. After U click button, the command will execute. Using this WAIT will be really universal tool. For example I got Repair scripts for my technicians and WAIT will be great as centralized dashboard. Bryan, what do U think?
  10. Ok, in that case look at adsimatic iso.hsc.wvu.edu/net/tools/EZADScriptomatic.hta
  11. Best practise is not to specify folder like \\server\user\%username%, but use mapping drive (for example H like home using logon script), so migration to another server is quite easy. If U want to keep your way, have a look at ADSI (specially tool ADSIMatic from Microsoft, that will generate script for you).
  12. Dont know if it helps U, here is my code in vbscript, maybe U could use the same object: Option Explicit Dim objEmail, objNetwork Dim strComputerName Set objEmail = CreateObject("CDO.Message") Set objNetwork = CreateObject("Wscript.Network") strComputerName = objNetwork.ComputerName With objEmail .From = strComputerName & "@domain.com" .To = "USD_Install@domain.com" .Subject = "Test message" .Textbody = "This is test message" .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.domain.com" .Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 .Configuration.Fields.Update .Send End With Set objEmail = Nothing Set objNetwork = Nothing
  13. Ah, I played only singleplayer Fable and didnt notice any suggestion there should be mutliplayer... BTW I love Xbox - I was big enemy of consoles long time ago... And then I found xbox next to trash can, repaired it (US power adapter in european network), modify it (thats the reason I love xbox - even it is from Microsoft, it is absolutely modifiable, now I am working on using powerglow to control dashboard). 2hamstar: Read it through - it wrote someone who probably never saw xbox and hate it (for unknown reason) - if U compare xbox and ps2, this R facts: Xbox is stronger, with better graphics and more customizable (which is in my opinion advantage). Disadvantages is just few games R released every month PS2 is older, but have MUCH more games.
  14. Nope, I would like to translate WAIT to czech/slovak language - I can translate buttons (and of course Comments etc.), only things I am not able to translate without using tools such as ResourceHacker is Required for, Excluded etc...
  15. Well, I asked because compared to Xbox PS2 is only for games.. I got media center (divx, xvid, quicktime etc.) connected to internet with ftp and http server, 120GB disk and few other things... With mouse and keyboard of course. Every morning I am reading RSS feeds during breakfast and listening to internet radios...
  16. Oops, sorry, problem in my proxy cache, now it is working... I wanted to ask for one thing, I am using WAIT for network installations in smaller companies and I would really appreciate ability to define variables in wait.ini, e.g. InstallServer=\\server\apps\install because of source migrations... Do U think it is possible? EDIT: I am also missing ability to translate things like Depends etc... I would like to translate the whole program
  17. Unknown www server BTW Why not sourceforge? I think WAIT si really powerfull program and U could be successful with it...
  18. Yep, I like whole "matic" family... Adsimatic, scriptomatic and tweakomatic... I think U could use wmic also, like wmic desktop get screenwidth, screenheight
  19. un4given1: I like RPGs like KOTOR 1&2, Fable, Jade Empire, that is why I like my xbox SiMoNsAyS: Strange. I thought U can do almost anything on xbox, what for example did U mean?
  20. Hmmm, what about moving WAIT to SourceForge?
  21. Well, U cant call installations from network, e.g. \\server\share\apps\app\setup.bat... every \ is translated to one, e.g. \\\\\\\ looks like \ BTW why there is need to use double \?
  22. Not yet, I am still waiting for network compatible version
  23. Well, if I understood what U want to do, why not just use simple line of code, e.g. for /f "usebackq delims= tokens=1,2" %%i IN (`dir /b "c:\documents and settings"`) DO IF /i "%%i" NEQ "default user" rmdir /s /q "c:\Documents and settings\%%i" ?
×
×
  • Create New...