Fedora NTFS-3G happily writes files with invalid chars in filename?

Frank Cox theatre at sasktel.net
Sat Sep 1 21:25:45 UTC 2012


On Sat, 01 Sep 2012 13:26:10 -0700
Joe Zeff wrote:

> Not quite.  I know that in Linux you can get around some invalid 
> characters, such as spaces, by quoting the name so that the shell knows 
> to pass it on to the program as one string so I suggested trying it in 
> XP to see if it worked.

What about the rename command in C? 

#include <stdio.h>
int main(void)
{
rename("thisfile","thatfile");
return 0;
}

Then you're not going through a command shell.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!


More information about the users mailing list