HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Windows XP / 2000 / NT / 9x Forum


Windows XP / 2000 / NT / 9x Forum Discussion for Windows operating systems from XP right back to the very beginnings!

Reply
 
Thread Tools
Old Mar 4, 2008, 08:40 AM   #1
C47
DriverHeaven Lover
 
Join Date: Mar 2005
Posts: 197
Rep Power: 0
C47 will become famous soon enough

The Filename, directory name, or volume label syntax is incorrect

my computer has been acting weird lately....here are some symptoms....
1. when i double click history folder....computer crashes....avast found smsss.exe
2540 Sign of "Win32:Inject-GA [Trj]" has been found in "C:\WINDOWS\system32\smsss.exe:$DATA" file.
2. i cannot open .ini and edit .bat files i get the "The Filename, directory name, or volume label syntax is incorrect" error.....i fixed the .ini problem....in folder options ....file types...removed the " that was at the end of the open command....but the .bat is still there
3. when i rightclick and create a new notead file, i get a .vhd file that is created
C47 is offline   Reply With Quote


Old Mar 5, 2008, 02:39 AM   #2
DriverHeaven Senior Member
 
Join Date: Jun 2006
Location: Toronto
Posts: 649
Rep Power: 0
kn00tcn is on a distinguished road
System Specs

well you seem to have a massive hook/infection, what options do you have/want to take?

reformat, repair install XP (may or may not work), system restore if you have it on, or do some long reading & lots of back & forth forum/chat posting to manually clean
kn00tcn is offline   Reply With Quote
Old Jan 20, 2009, 06:08 PM Threadstarter Thread Starter   #3
C47
DriverHeaven Lover
 
Join Date: Mar 2005
Posts: 197
Rep Power: 0
C47 will become famous soon enough

Re: The Filename, directory name, or volume label syntax is incorrect

lol i was googling this problem, and i came back to my own post LOL

anyway i found a fix for the the "filename,directory name, or volume label syntax is incorrect"

here it is:
-------------------------
In my case, I had a trojan that changed different settings on my computer, including registry keys. After removing the trojan I ran a program called SDFix to reset the settings that the trojan had changed. The program ran very well, but have a bug. When it reset the registry key used to edit batch files (*.bat) it set it as follow:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\ edit\command] = %SystemRoot%\System32\NOTEPAD.EXE %1"

As you already probably notice there is lonley quote at the end of the value. Just delete that quote and you are done.

As always, you edit the registry at your own risk.

Regards,
Picus
-------------------------

the filename,directory name, or volume label syntax is incorrect : Ink, Windows Touch, and Other Tablet PC Development : Software Development for Windows Client : MSDN Forums
C47 is offline   Reply With Quote
Reply

Thread Tools