News, tips, advice, support for Windows, Office, PCs & more. Tech help. No bull. We're community supported by donations from our Plus Members, and proud of it
Home icon Home icon Home icon Email icon RSS icon
  • Bat file has no response

    Posted on CWBillow Comment on the AskWoody Lounge

    Home Forums AskWoody support Windows Windows 10 Bat file has no response

    This topic contains 1 reply, has 2 voices, and was last updated by  MrJimPhelps 3 months, 1 week ago.

    • Author
    • #2000521 Reply

      AskWoody Plus

      Some time ago I had a topic about logging into my OneDrive and mapping it to “O.”

      There was no resulting solution in how to make that work automatically in startup, but I could do it with a desktop shortcut to the bat file in my root folder/directory.

      That shortcut now is unresponsive.  I click it and nothing happens.  But, if I that that same line

      net use o: / XXXXXXXXXXXXXX

      (no wordwrap, XXX’s is password)

      and execute it via “Run” it works fine.

      I tried recreating it, but nada.

      What could be causing that to happen?


      Chuck Billow

    • #2001011 Reply


      Put the following as the first line of your batch file:

      @echo on

      Then put the following after each line in your batch file:


      In this way, it will show messages on the screen as things happen, and you will need to hit a key after each step. The pause after each step will give you a chance to read a message without it scrolling off the screen before you can read it.

      Here is a good reference for batch file commands:

      Batch file commands

      Group "L" (Linux Mint)
      with Windows 8.1 running in a VM

    Please follow the -Lounge Rules- no personal attacks, no swearing, and politics/religion are relegated to the Rants forum.

    Reply To: Bat file has no response

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.