Batch Scripts / Programs.

Page 11 of 16 FirstFirst ... 910111213 ... LastLast

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

    Matthew:

    Thanks Matthew, it is appreciated. I have incorporated the code into the original file below for @Hemimax. I will also test it out to see if it is compatible cross-platform at some stage.

    EDIT:

    The adapted code RUNS in Win 7 but NOT in Win Vista. To be honest, I am NOT concerned about Win Vista any more now anyway.

    Hemimax:

    Please download and run => PowerCFG_Detailed_Analysis_Hemimax_1.bat
    Last edited by Paul Black; 14 Sep 2021 at 11:55.
      My Computer


  2. Posts : 4,309
    Windows 11 Pro 22H3
       #102

    Hi Paul, sorry still same result, odd thing is it creates several folders on my desktop (Max > Desktop > Power_CFG) last one being empty.
    Another strange thing is back in W7 when I had this user name (Richard Max) it would truncate it to "Richar" in the command windows but that all stopped with W10. This OS I have now is fresh W10 install I did back in July/2021 and I have not modified very much of it.
    Thank you very much for your perseverance and let me know if I can help in any way.
      My Computers


  3. Posts : 7,607
    Windows 10 Home 20H2
       #103

    Right-click on the Start button --> Windows PowerShell.
    Run the following command and post the output:

    (New-Object -ComObject Wscript.Shell).SpecialFolders(4)
      My Computer


  4. Posts : 4,309
    Windows 11 Pro 22H3
       #104

    Batch Scripts / Programs.-image.png
      My Computers


  5. Posts : 7,607
    Windows 10 Home 20H2
       #105

    Download: Get_the_desktop.bat

    Please run the above script and post the output, which should look like the following:

      My Computer


  6. Posts : 7,607
    Windows 10 Home 20H2
       #106

    Hemimax said:
    Batch Scripts / Programs.-image.png
    The >> in your output may cause problems. My output has no >> as shown below:

    Batch Scripts / Programs.-image-1.jpg
      My Computer


  7. Posts : 4,309
    Windows 11 Pro 22H3
       #107

    Matthew Wai said:
    Download: Get_the_desktop.bat

    Please run the above script and post the output, which should look like the following:

    Batch Scripts / Programs.-image.png
      My Computers


  8. Posts : 7,607
    Windows 10 Home 20H2
       #108

    Hemimax said:
    Batch Scripts / Programs.-image.png
    My code works on the OP's Windows. The problem could lie in the following:

      My Computer


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

    Hello @Hemimax,

    Download: Get_Desktop_Hemimax_1.bat

    Please post results.
      My Computer


  10. Posts : 4,309
    Windows 11 Pro 22H3
       #110

    Batch Scripts / Programs.-image.png
      My Computers


 

  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 04:56.
Find Us




Windows 10 Forums