Windows 10: What is %..% sign means in CMD batch files?

Discus and support What is %..% sign means in CMD batch files? in Windows 10 Network and Sharing to solve the problem; What is %..% sign means in CMD batch files? Ex:@echo offset /p var="Enter no.: "set /p var2="Enter no.: "set /a result=%var%+%var2%echo Your result is... Discussion in 'Windows 10 Network and Sharing' started by Sachin007, Feb 18, 2022.

  1. Sachin007 Win User

    What is %..% sign means in CMD batch files?


    What is %..% sign means in CMD batch files? ExWhat is %..% sign means in CMD batch files? :mad:echo offset /p var="Enter no.: "set /p var2="Enter no.: "set /a result=%var%+%var2%echo Your result is %result%pauseexit /b

    :)
     
    Sachin007, Feb 18, 2022
    #1
  2. oily_17 Win User

    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Feb 18, 2022
    #2
  3. Lillebror Win User
    Batch Files Knowledge Base

    You can't just rename a batch file to .exe *Big Grin What is %..% sign means in CMD batch files? :D it wont ever work! =D and that "bench" is built into vista *Smile What is %..% sign means in CMD batch files? :) And you cant input text into another cmd window.. But if you want to open calc.exe from a batch file just type calc.exe *Smile What is %..% sign means in CMD batch files? :)
     
    Lillebror, Feb 18, 2022
    #3
  4. What is %..% sign means in CMD batch files?

    Batch Files Knowledge Base

    Very nice and usefull thanks for contributing.
     
    AphexDreamer, Feb 18, 2022
    #4
Thema:

What is %..% sign means in CMD batch files?

Loading...
  1. What is %..% sign means in CMD batch files? - Similar Threads - sign means CMD

  2. cmd closing after opening an batch file

    in Windows 10 Gaming
    cmd closing after opening an batch file: why does my cmd closes after i open an batch file https://answers.microsoft.com/en-us/windows/forum/all/cmd-closing-after-opening-an-batch-file/43dda1c4-0099-4d80-948a-a1a669676abf
  3. cmd closing after opening an batch file

    in Windows 10 Software and Apps
    cmd closing after opening an batch file: why does my cmd closes after i open an batch file https://answers.microsoft.com/en-us/windows/forum/all/cmd-closing-after-opening-an-batch-file/43dda1c4-0099-4d80-948a-a1a669676abf
  4. what is the problem in this batch file?

    in Windows 10 Gaming
    what is the problem in this batch file?: hi there so i created an normal sfc/scannow and dism repair bat cuz idk why and i was adding wierd things and just basically random things i am pretty sure i did everthing right but when i like open the file it opens for split second like just like 1 frame and closes so i...
  5. what is the problem in this batch file?

    in Windows 10 Software and Apps
    what is the problem in this batch file?: hi there so i created an normal sfc/scannow and dism repair bat cuz idk why and i was adding wierd things and just basically random things i am pretty sure i did everthing right but when i like open the file it opens for split second like just like 1 frame and closes so i...
  6. what is the problem in this batch file?

    in Windows 10 Customization
    what is the problem in this batch file?: hi there so i created an normal sfc/scannow and dism repair bat cuz idk why and i was adding wierd things and just basically random things i am pretty sure i did everthing right but when i like open the file it opens for split second like just like 1 frame and closes so i...
  7. What is %..% sign means in CMD batch files?

    in Windows 10 Gaming
    What is %..% sign means in CMD batch files?: What is %..% sign means in CMD batch files? Ex:@echo offset /p var="Enter no.: "set /p var2="Enter no.: "set /a result=%var%+%var2%echo Your result is %result%pauseexit /b...
  8. What is %..% sign means in CMD batch files?

    in Windows 10 Software and Apps
    What is %..% sign means in CMD batch files?: What is %..% sign means in CMD batch files? Ex:@echo offset /p var="Enter no.: "set /p var2="Enter no.: "set /a result=%var%+%var2%echo Your result is %result%pauseexit /b...
  9. Graphics in Cmd or Batch?

    in Windows 10 BSOD Crashes and Debugging
    Graphics in Cmd or Batch?: Hello, i want to insert graphics into a batch script, i know it works, but i don't know a command to do so. TIA LG creativeandmore Grafik in Cmd oder Batch?
  10. CMD Batch file help

    in Windows 10 Support
    CMD Batch file help: Hello, i am running into a issue i am trying to resolve but im getting nowhere and hopefully someone could help me. I'm simply trying to point a copy to parent or "grand"parent directory/folder. I tried ".." but it seems to come back the same message Code: The system cannot...