You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
script help
About this tag
The script help tag on WindowsForum.com covers practical scripting challenges in Windows, particularly batch file techniques. Discussions include capturing command output into variables using SET /P in CMD.EXE, troubleshooting syntax errors, and combining commands like wc, clip, and msg for text processing. Another common topic is creating batch files to manage folder permissions, such as toggling access control for USB drives. Users seek solutions for converting batch scripts to executables and applying file attributes. The tag focuses on real-world scripting problems, offering guidance on Windows command-line automation and security-related scripting tasks.
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...
Hi guys I know I am a newbie here but I am no newbie to tech. However there is a problem I have been having recently and I can't seem to beat it lol and it's irritating me! So I was wondering if you could help me solve my dilema.
See I use a batch file on my USB that protects it (From...