Batch Scripts / Programs.

Page 11 of 11 FirstFirst ... 91011
  1. Paul Black's Avatar
    Posts : 14,098
    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; 2 Days Ago at 11:55.
      My Computer

  2. Hemimax's Avatar
    Posts : 2,624
    Windows 10 Pro X64
       #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. Matthew Wai's Avatar
    Posts : 6,219
    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. Hemimax's Avatar
    Posts : 2,624
    Windows 10 Pro X64
       #104

    Batch Scripts / Programs.-image.png
      My Computers

  5. Matthew Wai's Avatar
    Posts : 6,219
    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. Matthew Wai's Avatar
    Posts : 6,219
    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. Hemimax's Avatar
    Posts : 2,624
    Windows 10 Pro X64
       #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. Matthew Wai's Avatar
    Posts : 6,219
    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


 
Page 11 of 11 FirstFirst ... 91011

  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 01:38.
Find Us




Windows 10 Forums