ali Posted December 8, 2005 Share Posted December 8, 2005 Okay, basically I have a file named as a blank character (basically a space, but because spaces cannot be used for file names, there is a character which looks like a space, but has a value), and i would like to delete the file in an autoitscript. But for some reason the script doesnt recognize the character. Any idea how to fix it so that i can delete the "blank-char-named" file? Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted December 8, 2005 Share Posted December 8, 2005 Are you sure it is a standard space and not a non-breaking space? A non-breaking space can be used as a filename. I would suggest trying FileDelete(FileSaveDialog("Choose File to Delete", @ScriptDir, "All (*.*)", 1)) Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
ali Posted December 8, 2005 Author Share Posted December 8, 2005 Are you sure it is a standard space and not a non-breaking space? A non-breaking space can be used as a filename.I would suggest tryingFileDelete(FileSaveDialog("Choose File to Delete", @ScriptDir, "All (*.*)", 1))It is the type of character which looks like a space, e.g. Alt+0160 Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted December 8, 2005 Share Posted December 8, 2005 Isn't that a non-breaking space? Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now