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.
syntax error
About this tag
The tag 'syntax error' on WindowsForum.com covers user-reported issues where incorrect command syntax causes failures in Windows environments. Common scenarios include batch file scripting errors, such as misusing the SET /P variable assignment or the REN command when renaming system files like bootmgr. Users also encounter syntax errors in Windows system settings, for example when enabling System Protection on a drive, where an incorrect filename or volume label syntax prevents the operation. Additionally, the tag appears in discussions about legacy boot configuration files like boot.ini and assembly language code using XMMWORD directives. The content reflects troubleshooting for syntax problems in Windows 7, Windows 10, and development tools like VS2003.
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...
batch file
character count
clipboard
cmd
command output
error resolution
file path
line count
message command
output
path correction
script help
scripting
set command
syntaxerror
text count
variables
wc tool
windows 10
word count
Hey all! I'm a noob at writing batch files and have written a bunch, but my latest one is an odd one. I'm actually trying to break remote machines (for security reasons) by renaming the bootmgr system file and then shutting the machines down so they can no longer boot up. My batch file will map...
automation
batch file
bootmgr
command line
computer access
error
file renaming
hard drive
ip address
net
network
permissions
remote
scripting
security
shutdown
syntaxerror
system files
troubleshooting
windows
We have a .asm file which uses XMMWORD. This is not getting compiled with VS2003. And we need to use VS2003 only. What is the equivalent of XMMWORD in VS2003. Any help would be appreciated. The code is as below:
movdqu xmm0, XMMWORD PTR [eax]
movdqa xmm2, XMMWORD PTR...
I'm running Windows7 Ultimate 64-bit. I went in to the control panel/System Protection to turn on Protection on the drive that contain my documents so I could use the "Restore Previous versions". When I attempted to do so I got an error stating "Could not apply settings for the following reason...
Hey all.
I was editing a mission I'm currently making in ArmA 2 where the British medics attempts to help the civilians get interrupted by carbomb.
Must have mistyped some syntax somewhere hey?
Sorry about the quality.
OK, new problem. I have searched high and low ALL DAY for how to add Vista to my boot.ini file. I know how to access it, and tried to write a syntax for loading Vista, but when I select it at startup, it goes blank and stays there. I can select XP fine and it works. The only info that showed up...