Jump to content

Yzöwl

Patron
  • Posts

    4,113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Yzöwl

  1. Welcome to the MSFN Forums. Where else is there?
  2. Welcome to the MSFN Forums. Where else is there?
  3. Welcome to the MSFN Forums. Where else is there?
  4. Welcome to the MSFN Forums. Where else is there?
  5. Yzöwl

    hIhO

    Welcome to the MSFN Forums. Where else is there?
  6. Welcome to the MSFN Forums. Where else is there?
  7. Welcome to the MSFN Forums. Thank you for the king words?
  8. Welcome to the MSFN Forums. Where else is there?
  9. Welcome to the MSFN Forums. Where else is there?
  10. Welcome to the MSFN Forums. Where else is there?
  11. Yzöwl

    hEY!

    Welcome to the MSFN Forums. Where else is there?
  12. Welcome to the MSFN Forums. Where else is there…?
  13. Welcome to the MSFN Forums. Where else is there…?
  14. The del command only outputs an error not a success so if the file isn't deleted then the error message will be shown in the console window! (This is how you know if the file was or wasn't deleted). examples: C:\>del readonly.txt Access is denied C:\>del inuse.exe The process cannot access the file because it is being used by another process C:\>del normal.html C:\>In the last example the file was deleted therefore no error was visible. Technically speaking I suppose you could say that if the file is deleted then you'll get an empty STDERR output from the command. This of course means that if you need to you could capture the STDERR and check it too! @Echo off Del somename.ext>Nul 2>%Temp%\_$.log Findstr .* %Temp%\_$.log||Echo:success Del %Temp%\_$.log&Ping -n 6 127.0.0.1>NulIn this example if the file is deleted, you'd receive the success message in the console otherwise you'd get the error message.
  15. I'm sorry but there's more chance of you winning the lotto.The whole idea of these things is to choose only the tweaks you need and comment out those you don't. Only you know what you've applied and if you didn't do it in a test environment then you've only really got yourself to blame. I know it sounds like I'm being harsh on you, but there really is no alternative, if you didn't create a system restore point, or back up your registry before you ran the tweaks then you'll have to start from scratch having learned a valuable lesson.
  16. In a console window, navigate to the directory containing your extracted file and execute: Makecab /D CompressionType=LZX /D CompressionMemory=21 IEXPLORE.EXE
  17. Link and spelling error fixed in original post!
  18. Are you thinking of including SmartDefrag in your review?
  19. You will need to extract the IEXPLORE.EXE file from the IE7 installation package, compress it to IEXPLORE.EX_, and replace the IEXPLORE.EX_ file in the Windows source with the newer version. See here!
  20. Moved to appropriate Forum Will this help?
  21. You don't say how you are 'copying' to HDD so I thought I'd mention that Xcopy will reset read-only attributes unless told otherwise.
  22. What about something like this? set Args = Wscript.Arguments If Args.Count < 1 Then Do Something Else do differently <Edit> I've just re-read your request and your looking for arguments to a function or sub. There is no method for this only workarounds. Being primarily a batch man my suggestion would be to pass an array and use logic to allocate variables from there. Example:somesub Array(13, 23, somevar) sub somesub(aArgs) if IsArray(aArgs) then x = aArgs(0) if Ubound(aArgs) > 0 y = aArgs(1) if Ubound(aArgs) > 1 a = aArgs(2) if Ubound(aArgs) > 2 b = aArgs(3) Else x = aArgs End if End sub </Edit>
  23. This topic was allowed to continue in the hope that you were capable of providing sufficient information and knowledge in order for it to progress. At this time however it appears that you unable to do this, from what you've provided thus far you will be unlikey to achieve your goal in the very near future if you intend to continue down this route. If you tell us exactly what the application is, what needs importing to the registry, which files need moving to specific locations, when they need moving etc. and what exactly you require to be allowed to be saved and where we may be able to give you a few pointers. It is unlikely that members will be prepared to write the thing for you and I'm fairly sure, even with my extensive knowledge of NT Command Scripting, that it is not going to be easy to do at all. I'd strongly suggest you start to walk before you can run! This topic will be closed if the information required is not provided.
  24. Thank you ahmedah for your improved explanation. Topic re-titled and moved to a more appropriate location.
×
×
  • Create New...