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. undo a bat file

    in Windows 10 Gaming
    undo a bat file: Hi recently i want to undo a bat file for ubisoft. This bat file basically forces ubisoft to start in offline mode whenever i on my firewall. However i wish to get rid of it. I tried uninstalling and installing also but it doesnt seem to...
  3. undo a bat file

    in Windows 10 Software and Apps
    undo a bat file: Hi recently i want to undo a bat file for ubisoft. This bat file basically forces ubisoft to start in offline mode whenever i on my firewall. However i wish to get rid of it. I tried uninstalling and installing also but it doesnt seem to...
  4. Can't execute .bat files pc update error

    in Windows 10 Gaming
    Can't execute .bat files pc update error: Hi i am trying to execute a .bat files, but evrytime i try to execute it it give me the message: "This app can't run on your PC. To find a version for your PC, check with the software publisher." and i just can't seem to fix this problem....
  5. Can't execute .bat files pc update error

    in Windows 10 Software and Apps
    Can't execute .bat files pc update error: Hi i am trying to execute a .bat files, but evrytime i try to execute it it give me the message: "This app can't run on your PC. To find a version for your PC, check with the software publisher." and i just can't seem to fix this problem....
  6. Bat file closing immediately when opened when big text put in

    in Windows 10 Gaming
    Bat file closing immediately when opened when big text put in: I am attempting to create a simple batch file that contains text. When I use a short line like "hello," it works as expected. However, when I input a larger block of text, the window closes immediately.In summary:Small text works fine.Larger text causes the window to close...
  7. Bat file closing immediately when opened when big text put in

    in Windows 10 Software and Apps
    Bat file closing immediately when opened when big text put in: I am attempting to create a simple batch file that contains text. When I use a short line like "hello," it works as expected. However, when I input a larger block of text, the window closes immediately.In summary:Small text works fine.Larger text causes the window to close...
  8. Bat file for renaming multiple files using the command prompt

    in Windows 10 Gaming
    Bat file for renaming multiple files using the command prompt: Greetings,I had a messy .mp4 collection that need intensive naming rework. I have tried using u/Derrick19 guide as followingOpen PowerShell Navigate to the directory containing files using the cd command. For example: cd C:\path\to\your\filesRun the following...
  9. Bat file for renaming multiple files using the command prompt

    in Windows 10 Software and Apps
    Bat file for renaming multiple files using the command prompt: Greetings,I had a messy .mp4 collection that need intensive naming rework. I have tried using u/Derrick19 guide as followingOpen PowerShell Navigate to the directory containing files using the cd command. For example: cd C:\path\to\your\filesRun the following...
  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...