Batch Scripts / Programs.

Page 2 of 16 FirstFirst 123412 ... LastLast

  1. Posts : 7,606
    Windows 10 Home 20H2
       #11

    Paul Black said:
    The scripts / programs below need to be Run as administrator. To do this, right-click the .bat file and select Run as administrator.
    Is there a reason why you don't use the following code in the scripts?

    (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
      My Computer


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #12

    Hi @Matthew Wai,

    Matthew Wai said:
    Is there a reason why you don't use the following code in the scripts?

    (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
    I am actually in the process of updating the batch scripts to include that code instead of the current one that I have used. Most of those batch scripts are the ones I wrote for SevenForums and then I updated them if needed to run on Win 10. I hope to post the updated batch scripts later today or tomorrow.
      My Computer


  3. Posts : 5,451
    Windows 11 Home
       #13

    You might want to re-upload your scripts to pastebin, so people could review them before downloading, not everyone feels comfortable to download random scripts. You can also easily edit them as needed afterwards.
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #14

    I have just added another batch script to Post #1 called Event Viewer - System & Application Errors & Warnings . . .. I have found it very useful over the years!
      My Computer


  5. Posts : 1,769
    Windows 10 Pro
       #15

    Compumind said:
    @Paul Black -

    Excellent script work!

    May I suggest placing all your scripts into a single thread and asking the Admin to perhaps make them a Sticky Thread once final?

    It does get a bit confusing when they are scattered around.

    What he said. +1
      My Computers


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #16

    Hello @x509,

    x509 said:
    What he said. +1
    This is the sticky thread, see Post #1!
      My Computer


  7. Posts : 312
    Microsoft Win 10
       #17

    How nice to see this script
      My Computer


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #18

    Cast said:
    How nice to see this script
      My Computer


  9. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #19

    I have just added another batch script to Post #1 called Find_CBS_Corruption_Summary . . ..
      My Computer


  10. Posts : 1,523
    windows 10 PRO
       #20

    Quite often when an update is performed ,or a in place repair Install, the pinned start menu gets mixed up. I found the registry and file to save, listed on this forum, but a batch file to initiate this to a location other than the boot drive would be excellent, guess the batch file would have to be amended to suit the user stating where the file(s) should be saved. Unless you think this not necessary.....going to keep all these batch files on my pc, as a pdf, very handy thanks.

    - - - Updated - - -

    Lance1 said:
    Thank You Paul Black! An impressive collection of scripts that will come in very handy.... I saved a link and also created a PDF with this page with all your link. Cool....
    I created a pdf, but links are not live, is there a special way f creating one ? Maybe if I create the web page using acrobat ?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:44.
Find Us




Windows 10 Forums