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. In the first instance you will need to fix the code you've supplied! You've failed to close all of the paraetheses. The last line should say echo/ no match found&&ping -n 6 127.0.0.1>nul))))))))))))
  2. You can! You could create an .inf template file using [System Access] <snip> NewAdministatorName="new name"as part of it and use secedit to make the appropriate security changes. Just bear in mind when making this change that the Profile Directory 'Administrator' will remain.
  3. Something like this perhaps! @echo off for /f "skip=1" %%? in ('wmic baseboard get product') do ( if %%?' equ 0KU184' (call d630.cmd) else ( if %%?' equ X0X0X0' (call gx620.cmd) else ( if %%?' equ X0XX0X' (call xxnnn.cmd) else ( if %%?' equ 0X0X0X' (call xnnn.cmd) else ( echo/ no match found&&ping -n 6 127.0.0.1>nul)))))
  4. This not intended to upset, but I see a few cases of this type of thing every so often. I'm not saying that it cannot be done nor am I stating that you do not have the right to do it your own way. It's just that to me it is an unnecessary waste of your time persuing a solution to something that will not be used very often. Since you have decided to use your alternative browser as the default application it seems to me that you would only need to open URLs using IE on the odd occasion. Why can you not just drag and drop that occasional URL onto the IE icon in your quick launch bar. An alternative idea may be to use the IE Tab Mozilla Extension.
  5. If Exist \\computername\sharename\foldername\filename.ext<snip>
  6. Consider yourself welcome to the MSFN Forums. Try to remember though, it's a cruel world, so you're only as welcome as your last post!
  7. Welcome to the MSFN Forums. Where remaining calm and focused may be a better 'frame of mind'.
  8. Yzöwl

    Heisann!

    Welcome to the MSFN Forums. I hope your future is all you hope of it, you're already on the correct path, MSFN!
  9. Welcome to the MSFN Forums. Thankyou for joining, it shows a commitment to give rather than just take!
  10. Welcome to the MSFN Forums. The best thing about finding difficulty in using English is that you're more likely to post quality rather than quantity.
  11. We weren't lost, ...well most of use weren't! Welcome to the MSFN Forums.
  12. Welcome to the MSFN Forums. We hope your membership bears much fruit.
  13. Welcome to the MSFN Forums. Becoming a member of this community is the easy bit, the hard part is to learn at an appropriate rate!
  14. Yzöwl

    Howdy

    Welcome to the MSFN Forums. It sounds as if we were made for you!
  15. Yzöwl

    Hi

    Welcome to the MSFN Forums. be careful...you know what curiosity did!
  16. Welcome to the MSFN Forums. Our resources are more diverse than you may at first think
  17. Yzöwl

    hi

    Welcome to the MSFN Forums. We hope you enjoy being a member of this community
  18. Well the code you posted is wrong, so I've no idea how it works! As you haven't yet answered my reply %0\..could mean in this case: "X:\Top Level Folder\SecondLevel\Scripts\mybatch.cmd"\..) Also I was wondering why you would be passing this parameter 0\..\to the vbs. Did you forget to add another character before the `0`? You should also be aware that the END label will be run regardless of whether or not the sched.txt file exists. Guessing a little here but, what about: @echo off if not exist c:\windows\sched.txt (copy sched.txt c:\windows cscript //nologo schedshutdown.vbs "%~dp0") else ( echo."Shutdown Schedule Already Has Been Set")
  19. Let the games begin! Do you wish to, (probably by way of some sort of script), have an explorer window open with its root based either in the directory or relative to that of the running script.
  20. Have you thought about changing the script to use an appropriate switch with the Start Commandcopy d:\files\setup.exe c:\temp start "" /wait c:\temp\setup.exe /s del c:\temp\setup.exe reg delete (the path here...)Using /wait will mean that the delete command will not be invoked until the setup has completed.
  21. I dont use such programs myself but would suggest you use <rest of script here> END EXIT
  22. Also please take a look at your question and think, "Is the Unattended Windows 2000/XP/2003 forum area the most appropriate location for my topic?"Finally, please try to use code tags when posting file content of this type!
  23. I spoke too soon, its not working again now... As I said it cannot have been my system, the problem was the same on a brand new installation with no added software. The browser I was using was a completely portable standalone one, (no settings can change)! I suppose I'll just have to live with it.
  24. xper, since you didn't mention my issue, (i.e. the subject of the thread), and today it appears to have worked as it used to; does that mean: It's been looked into and fixed It's fixed itself It's an intermittent problem which is likely to flare up at any time None of the above, (please explain)
  25. The purpose I see in it is that by simply adding a 17kB file to $OEM$\$$\SYSTEM32 the files and folders can be removed by one very fast process. DL.'s cmd is very effective, I just think that it is nice to do it with one command that can be completed faster than the first attrib command can be. Okay, lets just bear in mind a couple of things, the deltree command of which you speak was not meant to be used with an NT based system. It doesn't work properly or effectively through cmd.exe and it would be wise not to do so. The rmdir/rd commands with the /s switch are a modern replacement for it and do the job required in this case better. Deltree's ability to work with files as well as directories is not required here since we are working only with directories.Also as a side note the rmdir/rd command will work on a hidden directory thus negating the requirement to run an attrib command in the first instance.
×
×
  • Create New...