path correction

About this tag
Discussions tagged with 'path correction' on WindowsForum.com focus on resolving file path issues in Windows command-line environments, particularly in batch scripts and CMD.EXE. A recurring theme involves troubleshooting errors when passing file paths to commands like 'wc' or using variables with 'SET /P'. Users seek methods to correctly handle paths with spaces, special characters, or relative locations to avoid 'file not found' errors. The tag covers practical solutions for path syntax, variable assignment, and command output redirection in Windows 10 and other versions, emphasizing reliable scripting techniques.
  1. M

    Windows 10 CMD.EXE - How to fix command output into variable

    Hi! I tried to send command output to variable. I'm using is in Windows 10.1903 x64 I used syntax: SET /P variable= | command I used batch by context menu to get word, characters and lines count in text file using old WC tool (it's great). First I used only copying output into clipboard by...
Back
Top