Batch Scripts / Programs.

Page 2 of 5 FirstFirst 1234 ... LastLast
  1. Matthew Wai's Avatar
    Posts : 5,096
    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. Paul Black's Avatar
    Posts : 12,213
    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. TairikuOkami's Avatar
    Posts : 4,676
    Windows Home Dev 21xxx x64
       #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. Paul Black's Avatar
    Posts : 12,213
    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. x509's Avatar
    Posts : 853
    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. Paul Black's Avatar
    Posts : 12,213
    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. White's Avatar
    Posts : 303
    Microsoft Win 10
       #17

    How nice to see this script
      My Computer

  8. Paul Black's Avatar
    Posts : 12,213
    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. Paul Black's Avatar
    Posts : 12,213
    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. reddwarf4ever's Avatar
    Posts : 1,235
    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


 
Page 2 of 5 FirstFirst 1234 ... LastLast

  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 21:37.
Find Us




Windows 10 Forums