Sign in to follow this  
Followers 0
ali

Blank Character

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



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())

Share this post


Link to post
Share on other sites

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))

It is the type of character which looks like a space, e.g. Alt+0160

Share this post


Link to post
Share on other sites

Isn't that a non-breaking space?


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0