Windows 10: "The syntax of the file name, directory or volume is not correct."

  1.    22 Jun 2017 #1

    "The syntax of the file name, directory or volume is not correct."


    In Audit mode, if I run the %SystemRoot%\System32\Cmd.exe /c cleanmgr /sageset:65535 & cleanmgr /sagerun:65535 command from the Command Prompt, the "Disk Cleanup Settings" window is displayed. So, I select all the items and press Ok.

    Now, before the prompt is displayed again, the "The syntax of the file name, directory or volume is not correct." message appears.

    Why?

    Thanks

    Bye
      My ComputerSystem Spec


  2. Posts : 901
    Windows 10 Professional
       22 Jun 2017 #2

    I have no clue what all that is, but I was just randomly browsing in this forum and clicked your post. I saw that line you have in bold and saw a number that looked almost as familiar as another number that I see more often. You have 65535, yet I've seen a lot of 65536 before (which is 2 to the sixteenth power).
      My ComputerSystem Spec

  3.    22 Jun 2017 #3

    pepanee said: View Post
    I have no clue what all that is, but I was just randomly browsing in this forum and clicked your post. I saw that line you have in bold and saw a number that looked almost as familiar as another number that I see more often. You have 65535, yet I've seen a lot of 65536 before (which is 2 to the sixteenth power).
    I tried to write the %SystemRoot%\System32\Cmd.exe /c cleanmgr /sageset:65536 & cleanmgr /sagerun:65536 command but the "The syntax of the file name, directory or volume is not correct." message is displayed the same. Why?

    Thanks

    Bye
      My ComputerSystem Spec


 

Related Threads
Hello! I've a customer with a vista computer (i know, spare the flame:ing :)) it was infected with crypt0l0cker and after restoring it to a previous restore point it seems like the SAM hives or something broke down on it since i cant create new...
I've got an error at the moment that whenever I try and use the file dialog (e.g. save a new file, open a file, attach file to email etc), whatever application I'm using will crash. This seems to have started ever since the Windows 10 Creator...
Hi Have a folder with some subfolders that just wont delete. Can move and rename. Cannot cut and paste to another drive. I have tried the following which results in the same, just doesnt delete. Takeownership Grant me admin CMD Prompt...
Hi, Do you recommend "basic" or "dynamic" volume/partition method in Windows 10? I plan to format a new 4TB HDD to be used for 3 purposes: 1. A secondary disk for windows paging file. Size = 3xRAM = 50 GB 2. Data drive (mydocs, music,...
I just moved from 64 bit Windows 7 to 10 so I backed everything on my 4TB Seagate Backup Plus external drive. I also have Carbonite so all is not lost if it comes to that. I made a base Image using Macrium Reflect that I still would like to get back...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 01:54.
Find Us