Send to file not working
FIXED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Send to file not working
12-04-2017 3:20 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
using the cmd ....Dir c:\ /s /b |sort /+256 /r >longname.txt
to list all filepath names > 256 characters doesn't seem to work.
the offending names are listed on the screen and not piped to longname.txt
can anyone see or correct the error?
Fixed! Go to the fix.
Re: Send to file not working
12-04-2017 3:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Send to file not working
12-04-2017 3:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@Browni yes it is in my docs on C:\users
The file name longname.txt is created in the directory and has 0 length
each entry on the screen is listed as The Directory Name ...directory and file name...... is to long
12-04-2017 3:40 PM - edited 12-04-2017 3:43 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm stumped then as I copied & pasted the command into cmd (not powershell) in Windows 10 and it worked.
Re: Send to file not working
12-04-2017 4:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks @Browni thank you for looking at it. think I've found the issue, the directory I was running the command against was created using a "Windows copy command"
Any filepath+filename that was beyond the 256 character in the string seems to have been truncated at the 256 character mark and basically ignored in the copy.
Re: Send to file not working
13-04-2017 11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@Browni wrote:
Do you have write permissions for the directory you are running the command from?
And on that note, i just thought i'd remind you that there is cmd and command - both look the same but both act differently with long file names.
Re: Send to file not working
14-04-2017 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Send to file not working