qBittorrent official forums

qBittorrent => Windows => Topic started by: tekko on December 11, 2012, 03:02:46 am

Title: [HOWTO] qBittorrent created a folder with a trailing space (solution)
Post by: tekko on December 11, 2012, 03:02:46 am
Since the folder name contains a trailing space (i.e. "c:\qbt\test "), I couldn't remove it normally. I've found the solution and I'd like to share it.

http://support.microsoft.com/kb/320081
Title: Re: qBittorrent created a folder with a trailing space (solution)
Post by: huytq on December 11, 2012, 09:32:18 am
This is just awesome! Thank you so much tekko
Title: Re: qBittorrent created a folder with a trailing space (solution)
Post by: Peter on December 11, 2012, 11:24:09 am
Sticky time!
Title: Re: [HOWTO] qBittorrent created a folder with a trailing space (solution)
Post by: Nemo on December 11, 2012, 07:59:37 pm
Thanks for your input tekko :).
Title: Re: [HOWTO] qBittorrent created a folder with a trailing space (solution)
Post by: tekko on December 11, 2012, 09:21:59 pm
you're welcome
Title: Re: [HOWTO] qBittorrent created a folder with a trailing space (solution)
Post by: Jinx on February 24, 2014, 03:56:59 am
For those too lazy to read the article, the primary two solutions offered for our case are: (1) use the DOS 8.3 filename in a command prompt window ("cmd.exe") or (2) apparently some commands will work with "\\?\" prepended to the path, e.g.:
Code: [Select]
del "\\?\c:\path_to_file_that contains a trailing space.txt "
Title: Re: [HOWTO] qBittorrent created a folder with a trailing space (solution)
Post by: Strat on July 25, 2014, 08:16:47 pm
Can anybody shed some light on what I should do to prevent qBittorrent from doing this in the future?

I really appreciate what you did Jinx but am wondering if there would be a way to please outline the instructions in a more intuitive way? It's a bit too abstract for me to follow and the Microsoft article is massive and unclear. :(
Title: Re: [HOWTO] qBittorrent created a folder with a trailing space (solution)
Post by: ciaobaby on July 25, 2014, 09:51:23 pm
Download Advanced Renamer (http://www.advancedrenamer.com) and use the Trim function rename pattern.