Modify

Opened 7 years ago

Closed 7 years ago

#3602 closed Bug (Wont Fix)

_PathSplit Strip Blanks

Reported by: gilles@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.3 Severity: None
Keywords: _PathSplit Cc:

Description

as explain in post
https://www.autoitscript.com/forum/topic/192761-pb-_pathsplit/

_PathSplit remove space in dir and filenames.
As it is possible to create such directory and filename, _pathsplit should preserve them

Solution provided in post

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Jpm

The proposed solution is not working and perhaps the actual one has some trouble too

comment:2 Changed 7 years ago by BrewManNH

  • Resolution set to Wont Fix
  • Status changed from new to closed

Just as an experiment, I renamed a file on my computer and added a space before its name, I had to use the command line REN command, because Windows doesn't allow it otherwise. It caused all sorts of issues with the file system. OneDrive won't sync the file because of the leading space, and you can't rename it using File Explorer's right click menu.

As this is against good naming conventions in Windows, and Windows itself only allows it to be created by using outmoded command line functions, I don't see this issue as worth the effort.

As I stated in the original thread, if you want to create files that won't work correctly, that's on you to modify the tools we provide, and not on us to try and break things for you.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.