Windows 10: BAT output

Discus and support BAT output in Windows 10 Software and Apps to solve the problem; Hey guys! I want to get a reg output file from a bat file I will run x.bat it will give me x.reg Everything seems to be ok. But i want double \\... Discussion in 'Windows 10 Software and Apps' started by Feuer, Mar 20, 2021.

  1. Feuer Win User

    BAT output


    Hey guys!

    I want to get a reg output file from a bat file
    I will run x.bat it will give me x.reg

    Everything seems to be ok. But i want double \\ character for path entry and it gives me one \ character
    and i dont want the last \ character too

    bat script and the outputs are here;

    C:\OKUL\SINIF\OGRENCI\x.bat i run that

    x.bat

    Code:
    x.reg i got that

    Code:
    result;

    "Path"="C:\OKUL\SINIF\OGRENCI" i am taking this entry

    "Path"="C:\\OKUL\\SINIF\\OGRENCI" i want this entry

    Can you help me to fix this?

    :)
     
    Feuer, Mar 20, 2021
    #1

  2. Updating .bat File, Removing Default Apps

    Hi SightUp.

    Don't have a bat file but step 4 in Option 2 will give you complete list and you can mod yours.

    Uninstall Apps in Windows 10


    Ken
     
    Caledon Ken, Mar 20, 2021
    #2
  3. No Audio Output Device is Installed

    Hi,

    You will need to select Windows 8 from the drop down list while installing the driver in compatibility mode.

    I would suggest you to try setting the speaker as default audio output by following the steps below and check if it helps.

    1. Right click on the sound icon on the right bottom corner of the taskbar.

    2. Select "playback devices".

    3. If "speaker" is not set as the default device, highlight it and click "set as default".

    5. Save the changes.

    Let us know the result.
     
    Wungraileng Vashi, Mar 20, 2021
    #3
  4. BAT output

    need help creating a file/folder listing *.bat file

    Hope I understand the question properly. If you simply want a raw listing of all *.bat files in a folder, just run this command:

    Code:
    The "/b" gives a bare listing with nothing but the file names. You can redirect that output to a file like this:

    Code:
    If you want a directory listing a specific folder, do it like this:

    Code:
    Finally, add a "/s" if you want to recurse subdirectories.

    Naturally, you can put that into a batch file if you wish.

    Did I understand the question correctly? If you need anything more, feel free to let me know.
     
    hsehestedt, Mar 20, 2021
    #4
Thema:

BAT output

Loading...
  1. BAT output - Similar Threads - BAT output

  2. ChatGPT removed my internet with a .bat

    in Windows 10 Gaming
    ChatGPT removed my internet with a .bat: So In device manager my pci device has a yellow triangle and my Realtek PCIe GBE family controller and WAn Miniport sate also have a yellow triangle and when I go to network and internet settings and change adapter options, I have no adapter.Here’s the .bat ChatGPT gave me...
  3. ChatGPT removed my internet with a .bat

    in Windows 10 Software and Apps
    ChatGPT removed my internet with a .bat: So In device manager my pci device has a yellow triangle and my Realtek PCIe GBE family controller and WAn Miniport sate also have a yellow triangle and when I go to network and internet settings and change adapter options, I have no adapter.Here’s the .bat ChatGPT gave me...
  4. ChatGPT removed my internet with a .bat

    in Windows 10 Network and Sharing
    ChatGPT removed my internet with a .bat: So In device manager my pci device has a yellow triangle and my Realtek PCIe GBE family controller and WAn Miniport sate also have a yellow triangle and when I go to network and internet settings and change adapter options, I have no adapter.Here’s the .bat ChatGPT gave me...
  5. When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...

    in Windows 10 Gaming
    When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...: This is what it says https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-run-a-bat-file-it-does-not-let-me-it/910636c6-87b8-4eef-b403-e3c02a66590b
  6. When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...

    in Windows 10 Software and Apps
    When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...: This is what it says https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-run-a-bat-file-it-does-not-let-me-it/910636c6-87b8-4eef-b403-e3c02a66590b
  7. How to launch a program from a .bat file that doesn't launch

    in Windows 10 Gaming
    How to launch a program from a .bat file that doesn't launch: Hello!I am trying to run a program from a .bat file that resides on my desktop so that when I start my computer the program launches automatically. After the computer boots up, from being off, a tiny icon of the program I wish to launch shows up in the system tray. When I...
  8. How to launch a program from a .bat file that doesn't launch

    in Windows 10 Software and Apps
    How to launch a program from a .bat file that doesn't launch: Hello!I am trying to run a program from a .bat file that resides on my desktop so that when I start my computer the program launches automatically. After the computer boots up, from being off, a tiny icon of the program I wish to launch shows up in the system tray. When I...
  9. How to launch a program from a .bat file that doesn't launch

    in Windows 10 Customization
    How to launch a program from a .bat file that doesn't launch: Hello!I am trying to run a program from a .bat file that resides on my desktop so that when I start my computer the program launches automatically. After the computer boots up, from being off, a tiny icon of the program I wish to launch shows up in the system tray. When I...
  10. start line - end line to output file (BAT script)

    in Windows 10 Support
    start line - end line to output file (BAT script): input.txt it is a text file with 10 lines in it one two three four five six seven eight nine ten i want to create a text file from line 3 to 7 it will be output.txt three four five six seven i want to know, how i can create a file that getting lines from another file...