Ok. I'm writing a program to change a files attributes. I have the function WinExec("attrib +s +h +a C:/0.exe", SW_HIDE); and it works like a champ. but if i try to use the directory
"C:/Documents and Settings/Silver/Desktop/0.exe"
it gives me "Parameter format is incorrect -" message in the console. Any ideas on how to stop this? I've played with it for the better part of an hour and I still have nothing. And input will be appropriated :)