Windows 10: Comma escaping in BAT/CMD?

Discus and support Comma escaping in BAT/CMD? in Windows 10 BSOD Crashes and Debugging to solve the problem; Hi. I try to write script like this one: set %PLAYER%=<part of command>... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by ЗачемЗнать, Jan 26, 2021.

  1. Comma escaping in BAT/CMD?


    Hi.


    I try to write script like this one:


    set %PLAYER%=<part of command> rtsp://192.168.1.1:554/?avm=1^&freq=450^&bw=8^&msys=dvbc^&mtype=256qam^&sr=6875^&specinv=0^&pids=0,16,17,18,20,3000,3001,3002,3009 <other command>


    for /f "tokens=2 delims==; " %%a in ' wmic process call create %PLAYER% ^ find "ProcessId" ' do echo %%a>"123.txt"


    How i can escape commas?

    :)
     
    ЗачемЗнать, Jan 26, 2021
    #1
  2. Kana.M Win User

    Changing List separator to Comma

    Hi

    Could you help me about List separator?

    I've changed List separator from semicolon to comma(and saved it).

    But it seemed that List separator was still semicolon.

    Is it because "Decimal separator" is "comma"?

    (I found the some websites that said that if the "Decimal separator" is "comma", List separator will not changed from semicolon to comma even though "List separator" is "comma". But I'm not sure if it's true or not. )

    *The "format" setting is "English(Netherlands)" in my PC.

    Thank you.
     
    Kana.M, Jan 26, 2021
    #2
  3. orionsdad Win User
    running .bat or .cmd in Windows Mobile 6.1

    Is there a way to run .bat or .cmd files in Windows mobile 6.1?
     
    orionsdad, Jan 26, 2021
    #3
  4. Kotabug Win User

    Comma escaping in BAT/CMD?

    My Batch File(.bat) is no longer running CMD

    My Batch File(.bat) is no longer running CMD and when i go and change the program and find CMD and or Command Prompt it says that the program that i chose cannot be associated with this file type. Please choose another. I ran CMD with .bat file before, but
    now i can't. I there a solution to this, please?

    Original Title: Set Associations
     
    Kotabug, Jan 26, 2021
    #4
Thema:

Comma escaping in BAT/CMD?

Loading...
  1. Comma escaping in BAT/CMD? - Similar Threads - Comma escaping BAT

  2. Bat or Cmd file not running at login

    in Windows 10 Gaming
    Bat or Cmd file not running at login: This should be an easy one. Created a net use map drive batch file, also as a cmd. Either one not both, just as a troubleshooting step. File is located on my desktop and if I double click on it, either one it executes as expected and maps the drives. 1st approach was a...
  3. Bat or Cmd file not running at login

    in Windows 10 Software and Apps
    Bat or Cmd file not running at login: This should be an easy one. Created a net use map drive batch file, also as a cmd. Either one not both, just as a troubleshooting step. File is located on my desktop and if I double click on it, either one it executes as expected and maps the drives. 1st approach was a...
  4. 'net use' works in cmd window, not in .bat file

    in Windows 10 Network and Sharing
    'net use' works in cmd window, not in .bat file: Win10 Pro, Version 2004, build 19041.804 (Suggestion to Microsoft- put a 'copy to clipboard' button on the WinVer window). On my home network I have some servers and a couple of NAS drives. (Eight altogether). In startup I call a batch file to map them using 'net use'. Most...
  5. Automatically close CMD window after .bat file finishes?

    in Windows 10 Ask Insider
    Automatically close CMD window after .bat file finishes?: I've got a little batch file I use to open two programs with one shortcut, and while it works, the CMD window remains open until I manually close it. There is an "exit" at the end, and I've googled for solutions for this but none of them worked. @Echo off cd C:\Program...
  6. Pin .cmd/bat files to taskbar

    in Windows 10 Ask Insider
    Pin .cmd/bat files to taskbar: Some UWP apps look very out of place on my taskbar and I wanted to change the icons. The only way I found looking instead of editing in MS Visual Studio was to make a run command and that opens the app. However, I can't pin it to the taskbar. I tried .bat but that didn't work...
  7. Need some Help with CMD and .bat files

    in Windows 10 Ask Insider
    Need some Help with CMD and .bat files: I have .bat file thats in a folder in my desktop (location). When i open the bat file i need it to run in the folder that's it's located (in the folder thats on my desktop) However, when i run the bat file it runs at the default location. So isn't there anyway I can change...
  8. Executing a .bat file on CMD

    in Windows 10 Support
    Executing a .bat file on CMD: Hello all, For a programming process we need to execute a .bat file from CMD. I'm on Windows 10 x64. When I paste the path to the file and hit Enter, the message below is expected to show up: Setting up environment for Qt usage... It happened a time and when we wanted to...
  9. Commas in number

    in Windows 10 Support
    Commas in number: Hi, Sorry if this isn't the right place to post this. I've only recently upgraded to Windows 10 in the last couple of days. I've tried to fill out a form on a webpage using Chrome and Explorer Edge and every time I type a number, it changes and inserts a comma. I've...
  10. Executing the bat file without showing the cmd window?

    in Windows 10 Support
    Executing the bat file without showing the cmd window?: I have a bat file closing a program - Digital Clock close.bat - containing: Code: taskkill /F /IM digital_clock.exe[/quote] How could I avoid this window to be opened when executing the bat file: [img] 92109